Welcome To Snipplr


Everyone's Recent Snippets



1 ... 423 424 425 426 427 ... 553
Firefox 3: blue Chromium build 12758: black
0 1110 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 1177 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 1549 posted 16 years ago by BFTrick
Add an attribute to existing table
1 1351 posted 16 years ago by marouanomezzine
2 1412 posted 16 years ago by jadedbat
1 1287 posted 16 years ago by hotdiggity
To centre, make "line-height" the same as the div height.
0 2370 posted 16 years ago by hotdiggity
1 1039 posted 16 years ago by hotdiggity
1 1346 posted 16 years ago by hotdiggity
You can get hostname from script environment - getenv("HTTP_HOST") (?!'.$host.') matches URLs always except local links
0 1196 posted 16 years ago by kossmoss
<table> <tr> <td>Head</td> </tr> <tr> <td>Subhead</td> </tr> <tr> <td>text</td> </tr> </table>
0 1088 posted 16 years ago by hotdiggity
1 1021 posted 16 years ago by hotdiggity
A replacement for now deprecated align attribute: <img>
1 1272 posted 16 years ago by hotdiggity
Equalizing Two Column Layout with Full Width Header ~ Fixed Width Content
0 1064 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 1138 posted 16 years ago by kristarella
changed to detect sring sheet first, then to try object extension.
2 1310 posted 16 years ago by pdswan
0 874 posted 16 years ago by glends
0 1216 posted 16 years ago by glends
* be postgres user
0 965 posted 16 years ago by kungfoo
Learn how to create drop caps using CSS and no extra HTML markup in this short tutorial.
1 1469 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 1110 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 1251 posted 16 years ago by dawjdh
Use this to extract an HTML5 origin from a URI. $1 is the origin. The square brackets are there to support IPv6 addresses. Example: var html5OriginRegex = /^([\w-]+:\/*\[?[\w\.:-]+\]?(?::\d+)?).*/; "http://www.google.com:42/foo/bar/...
0 924 posted 16 years ago by Sephr
Affects <A> tags for links starting with $link Example: LinkReplacer ($text, 'http://www.snipplr.com') affects to <a href="http://www.snipplr.com">Snipplr</a> and <a href="http://www.snipplr.com/blog">Snipplr Blog</a>
0 1331 posted 16 years ago by kossmoss
JavaScritp Form Validation Framework to validate form fields on the fly, no programming knowledge required.
0 1168 posted 16 years ago by clickfind
1 ... 423 424 425 426 427 ... 553