Welcome To Snipplr


Everyone's Recent HTML Snippets



1 ... 5 6 7 8 9 ... 27
- Basically, place the div at the top of the page (or wherever you want the link to jump to). - Then place the link somewhere on the page. - This will cause the scroll to shift to the top of the div container with that ID attribute.
0 1740 posted 14 years ago by kennonb
Place this script on an anchor tag, and it will open in a new browser with a defined size. The browser will not have a toolbar, menu, status, etc.
1 1810 posted 14 years ago by officiallyWise
In HTML forms, places this script in inputs to clear the value. If input box is blank, original value repopulates the input box.
0 1021 posted 14 years ago by officiallyWise
A four square layout design that can be resized and inserted into any larger wrapper.
0 1664 posted 14 years ago by marshalletm
0 1266 posted 14 years ago by lucaborace
The link has a full explanation with more detail about how this all works, as well as an example of it in action. This is just going to be the short-short version. If you have any questions check that out, if you still have questions then leave a com...
0 1112 posted 14 years ago by FatFolderDesigner
HTML conditional comments used to target specific versions of Internet Explorer (is ignored by all other browsers).
0 1914 posted 14 years ago by DenoteIt
0 1147 posted 14 years ago by DenoteIt
Color Brochure Printing
0 1022 posted 14 years ago by lanydo789
A form button for reloading a page.
0 967 posted 14 years ago by blantonious
Creates a link to reload the current page.
0 1005 posted 14 years ago by blantonious
Permanent link to latest minified jQuery release at jQuery.com
0 1000 posted 14 years ago by Huskie
Letterhead
0 888 posted 14 years ago by teneo123
replace your url with the "infolab.stanford.edu..."
0 1003 posted 14 years ago by xcsteve99
Hey guys, I struggled a little to find a crossbrowser, non repetitive params way to embed swfs; this object embed works flawlessly for me in all browsers - ie7, ie8, safari, chrome, firefox. Why is swfobject and YouTube using this format - http://cod...
0 2054 posted 14 years ago by digitalzoomstudio
0 1930 posted 14 years ago by clone
I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
0 2127 posted 14 years ago by luizlopes
0 1171 posted 14 years ago by blantonious
The email type will pop up a tool tip if an invalid email address structure is not entered.
0 1062 posted 14 years ago by blantonious
The type is no longer needed in script and link tags in HTML5
0 1075 posted 14 years ago by blantonious
You can keep your old version <html> but in HTML5 you can shorten it.
0 955 posted 14 years ago by blantonious
html skeleton 4.01 Strict!
0 1598 posted 14 years ago by mortu
A user may click a link on a mobile site which should open a page on the desktop site, not the mobile site. Appending the following code to the link will do that.
0 1413 posted 14 years ago by amandalaine
IE7 can be a pain when it comes to input submit buttons. In order to get the value to disappear using the text-indent: -999em; trick make sure to set text-transform: capitalize;
0 1098 posted 14 years ago by inreflection7
Snippets for Wordpress functions
0 1139 posted 14 years ago by sdellow
1 ... 5 6 7 8 9 ... 27