Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Refer to [This snipplr](http://snipplr.com/view/13653/css-firstchild-test/), added head and body section, even Firefox won't match first-child
0
1098
posted 16 years ago by angusdev
This command will fix the “The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes." error when saving a list (including content) that's too big.
0
1014
posted 16 years ago by blackf0rk
The first part resets all the browser\\\'s default styles. The second part adds some styles back in and provides a few classes for common issues. The third part will check your page for invalid markup.
2
1063
posted 16 years ago by BFTrick
You can get hostname from script environment - getenv("HTTP_HOST")
(?!'.$host.') matches URLs always except local links
0
1011
posted 16 years ago by kossmoss
<table>
<tr>
<td>Head</td>
</tr>
<tr>
<td>Subhead</td>
</tr>
<tr>
<td>text</td>
</tr>
</table>
0
921
posted 16 years ago by hotdiggity
Equalizing Two Column Layout with Full Width Header ~ Fixed Width Content
0
845
posted 16 years ago by hotdiggity
This example is adding a feature box after the first post. You can apply it to any of the hooks inside the loop.
2
936
posted 16 years ago by kristarella
changed to detect sring sheet first, then to try object extension.
2
1092
posted 16 years ago by pdswan
Learn how to create drop caps using CSS and no extra HTML markup in this short tutorial.
1
1249
posted 16 years ago by neal_grosskopf
Extracts a string paremeter from the url query string. Basic operation wont handle multiples such as radio buttons etc. Just gets the first instance of the name and returns it's value.
1
880
posted 16 years ago by kouphax
In phpMyAdmin you can define strftime formats for your dumped database sql files. Here you are with two formats, one for sigle table export, one for multi-table export.
0
1049
posted 16 years ago by dawjdh