Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Creates a drop shadow for a div. In IE I can't get `filter:alpha(opacity=__)` to work right, but it degrades gracefully without it so I left it out.
5
1028
posted 16 years ago by wizard04
The refresh meta-tag for the html header to redirect to another url.
0
899
posted 16 years ago by Wiederkehr
Should work for image/gif as well. Allegedly not supported by IE
0
1532
posted 16 years ago by rengber
CSS Diagnostics allows web designers and developers to highlight invalid HTML using CSS selectors. Say goodbye to the font tag by highlighting it in a large obnoxious border. It also has the ability to highlight 404 pages, old CSS classes and old Jav...
7
1903
posted 16 years ago by neal_grosskopf
Allow for easier editing of content by users who didn't make the site.
1
800
posted 16 years ago by EvanL
This is a version of Textile that only accepts paragraps, bold, italics, links, and images. Enjoy.
1
971
posted 16 years ago by evanwalsh
Name the form what ever you like, but make sure that is reflected in the javascript.
0
4934
posted 16 years ago by jachin
Flash sucks, embedding it sucks more, find out how to make it not suck.
2
1182
posted 16 years ago by neal_grosskopf
output can be run as a shell script. should be able to refactor this as a piped wget, i think
1
881
posted 17 years ago by jhenry
If you've ever used a strict doctype and used the target attribute on links you'll notice that it doesn't validate. Here is an easy solution.
4
1980
posted 17 years ago by neal_grosskopf
Find depreciated elements and attributes using CSS . Simply add the CSS below to the end of your style sheet and it will highlight bad code.
5
1110
posted 17 years ago by neal_grosskopf
I can't remember if this code is updated for IE7, if it is then it should be working in at least IE6-7, Safari 2-3, Opera 8 and Firefox 2-3.
Obviously the image_iefix is just for IE6.
2
865
posted 17 years ago by teddyzetterlund
curvyCorners is a free JavaScript program that will create on-the-fly rounded corners for any HTML DIV element, that look as good as any graphically created corners.
3
1306
posted 17 years ago by jonhenshaw