Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Use this to display a file properly if you are reading it from another location and wish to direct it to the user's browser
0
814
posted 17 years ago by wolfie
A great script that will serve up stylesheets based on browser viewport size.
5
1145
posted 17 years ago by aznprncritic
This replaces the PHP-based function in the HTML bundle. You need to add two files to your bundle's Support/lib folder (create the directories if they're not present):
http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_controller/vend...
6
1350
posted 17 years ago by gtcaz
Les propriétés racourcies
Exemple avec la propriété raccourcie 'font':
En clair vous pouvez résumer ça:
p {
font-size: 1em;
line-height: 1.5em;
font-weight: bold;
font-style: italic;
font-variant: small-caps;
font-family: verdana...
3
905
posted 17 years ago by clapfouine
Ðлементарно, Ñтильно, прикольно. СпаÑибо Ñоздателю.
0
733
posted 18 years ago by Memphys
Resize a Popup to Fit an Image's Size
By Peter Todorov
February 10th 2003
Reader Rating: 9.1
If you're a Webmaster who has to deal with image galleries, then make a note of this clever script. It gives you a solution to a very common problem --...
1
1145
posted 18 years ago by zensir
If you want your pages to be valid XHTML-Strict, but you also wish to open external links in new window, the following snippet is doing just that—sets attribute target=“_blank†to all external links in a document to keep your code valid XHTML-S...
2
1116
posted 18 years ago by zensir