Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I switched the h1 to a span to stop the hover from being effective from the other side of the page. Take a look at it [here](http://jsbin.com/okepo4/6/,\"here\")
1
1839
posted 15 years ago by s0l1dsnak3123
Reworked CSS reset I use in projects. *Updated, added input type font inheritance and removal of firefox button outline, removed depreciated items; center, font, applet, big, s, u, tt, strike, menu & acronym. Uncompressed version in the link above.
3
2294
posted 15 years ago by vagrantradio
A snippet setup to grab an XML file, parse it, and return the data contained within.
2
1265
posted 15 years ago by joshharbaugh
By default wordpress does not include post thumbnails in RSS Feeds. Enable in by add this code the functions.php located inside your themes folder.
1
2017
posted 15 years ago by mediamilan
Paste the code in a file named style.php. Don’t forget to include your css files . Once done, open your HTML document and import style.php as you’ll import a css stylesheet.
3
1623
posted 15 years ago by math89
Turn a html source into a full text document by removing all html tags and other unneeded code.
0
1580
posted 15 years ago by math89
This JavaScript code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
1
1347
posted 15 years ago by DADU
This PHP code snippet checks each integer in an array. If necessary, one or more leading zeros are added to an integer. Note that each integer becomes a string.
2
1826
posted 15 years ago by DADU
Generic function to test whether and element supports a particular element in HTML5.
0
1401
posted 15 years ago by vagrantradio
This custom function is useful if you want to get the ID of a page.
1
1554
posted 15 years ago by simonbouchard
This code will list all children pages from a parent page. This method is useful when you don\\\'t want to list all parent pages when you are on a parent page that have no children pages.
0
1204
posted 15 years ago by simonbouchard
This custom loop will list all sub pages from a parent page including grand childrens. Example use: Car models listing
1
1118
posted 15 years ago by simonbouchard