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
934
posted 16 years ago by wizard04
The refresh meta-tag for the html header to redirect to another url.
0
802
posted 16 years ago by Wiederkehr
Should work for image/gif as well. Allegedly not supported by IE
0
1410
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
1734
posted 16 years ago by neal_grosskopf
Allow for easier editing of content by users who didn't make the site.
1
710
posted 16 years ago by EvanL
This is a version of Textile that only accepts paragraps, bold, italics, links, and images. Enjoy.
1
867
posted 16 years ago by evanwalsh
Name the form what ever you like, but make sure that is reflected in the javascript.
0
4751
posted 16 years ago by jachin
Flash sucks, embedding it sucks more, find out how to make it not suck.
2
1059
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
789
posted 16 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
1838
posted 16 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
991
posted 16 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
772
posted 16 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
1154
posted 16 years ago by jonhenshaw