Welcome To Snipplr
Everyone's Recent HTML Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This code is both basic and available from 24ways.org, but it's damn handy to reach through the snipplr plugin from textMate.
PS: all cred to Rachel Andrew & the 24ways team.
4
1580
posted 17 years ago by stavelin
Just for a quick copy and paste. A cool Lorum Ipsum generator is at [lipsum.com](http://www.lipsum.com/).
1
1366
posted 17 years ago by wizard04
First noscript tag redirects the user to the page telling them to allow scripts. Second section is an example page of one which will go to the default page if scripts are allowed, or to give them a message otherwise.
1
1350
posted 17 years ago by Anthony
CSS 3 media queries test for html, table columns disappear when browser window width is changed; Fx 3.1
2
1641
posted 17 years ago by sullei
The refresh meta-tag for the html header to redirect to another url.
0
1533
posted 17 years ago by Wiederkehr
Should work for image/gif as well. Allegedly not supported by IE
0
2459
posted 17 years ago by rengber
This HTML/CSS shows how to make text inputs with rounded corners in the most basic way (it doesn't expand according to its width).
6
2891
posted 17 years ago by reneolivo
Applications:
1. Centered block with unknown width
2. Simple block which can have float style (f.e. horizontal menu)
1
1432
posted 17 years ago by kossmoss
IE can't handle [ option disabled="disabled" ] tags, so this htc will help
0
1836
posted 17 years ago by localhorst
Flash sucks, embedding it sucks more, find out how to make it not suck.
2
2750
posted 17 years ago by neal_grosskopf
„Versioning and Cross-document InteractionInternet Explorer 8 introduces the IE8 standards mode by default—this lets Web designers use the latest rendering features available in Internet Explorer 8. In addition to layout changes, IE8 standards mo...
3
2249
posted 17 years ago by localhorst
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
3023
posted 17 years ago by neal_grosskopf
Say you wanted the following 4 tabs: bodoni, helvetica, frutiger, univers, each outputting a separate block view of 3 teasers each. This is what your markup would look like:
1
1172
posted 17 years ago by zachharkey