Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The HTML simply discovers if it's IE and its version or if it's not IE.
The jQuery discovers if it's IE, Firefox, Webkit Engine (Chrome and Safari) or Opera and its version as an integer.
1
1502
posted 13 years ago by cesarkohl
A small tip I picked up yesterday while developing a HTML email for a client. If you are testing in Hotmail using a browser other than Internet Explorer, you may notice that the email seems to left align and doesn’t display any background colours o...
0
797
posted 13 years ago by i-am-andy
This is just a quick sample that shows how to have a button visible on a page only if the person has JavaScript enabled.
0
677
posted 13 years ago by EgoAnt
In HTML forms, places this script in inputs to clear the value. If input box is blank, original value repopulates the input box.
0
714
posted 13 years ago by officiallyWise
Namespaces for enable browsers redering stuff for facebook's fbml, Google+1 and WAI-ARIA attributes in XHTML served as application/xml+html.
0
1013
posted 13 years ago by leobetosouza
A four square layout design that can be resized and inserted into any larger wrapper.
0
1298
posted 13 years ago by marshalletm
On screen:
Click here to see the pics!
On print:
Click here [link: http://www.shabada.boh] to see the pics!
0
764
posted 13 years ago by claudiowebdesign
Here you see a example to make your table background color fdifferent at last
0
953
posted 13 years ago by Darksider3
You need to convert Python source code into HTML markup, rendering comments, keywords, operators, and numeric and string literals in different colors.
tokenize.generate_tokens does most of the work. We just need to loop over all tokens it finds, to...
0
997
posted 13 years ago by magicrebirth
[from the author's website]
I wrote this to better understand the relationship between RGB colors. Running it will generate a fairly large HTML file with all sorts of color transitions on it so you can see what is happening as colors are tweaked in...
0
858
posted 13 years ago by magicrebirth
Since forms only read the name of the element and not the id, this could be helpful since it makes each each element's name its id and its id the name.
0
909
posted 13 years ago by tcam27