Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



1 ... 17 18 19 20 21 ... 28
Originally by Paul Irish
3 1124 posted 15 years ago by bbeaudreault
To make the menu work in IE6 (which doesn't support the :hover pseudo element on anything but links and tables), the IE6-specific CSS calls on [Whatever:hover][whatever]. If using [Dean Edwards' IE7-js][IE7-js], this is unnecessary as his script fixe...
4 1284 posted 15 years ago by chrisdpratt
Attaching multiple stylesheets
0 794 posted 15 years ago by StevieJ
2 1028 posted 16 years ago by PeteW
2 1099 posted 16 years ago by PeteW
2 1278 posted 16 years ago by PeteW
2 1366 posted 16 years ago by PeteW
Nice clean, and semantically correct breadcrumb XHTML accompanied by the CSS. Create a transparent GIF of the symbol '>' and save it in /img/gt.gif. This will be used for older browsers that don't support the :after pseudo element.
4 1238 posted 16 years ago by PeteW
<p>Cross-browser compatible especially for IE6/7 and makes use of CSS sprites for faster downloading. Download file <a href="http://johnimbong.com/blog/wp-content/uploads/2009/09/curves.zip">curves.zip (75 bytes)</a> which contains the CSS sprite nee...
1 997 posted 16 years ago by enchance
Ever needed to use to background images in a table or div? It is possible b just using css. Although this is yet to be a standard safari will allow you to apply 2! Css backgrounds, however IE, FIRFOX and retro opera users will only see 1 !
1 1214 posted 16 years ago by scopefragger
2 1146 posted 16 years ago by simmering
requires blank.gif (transparent 1px gif image)
1 1839 posted 16 years ago by gryzzly
2 1077 posted 16 years ago by iTony
A wrapper may be made to enclose the content of a page, and then you can write descendant CSS rules that mention that wrapper's ID or class name in the selector. But what if only IE thought that wrapper existed? Then those rules would only work for I...
4 1228 posted 16 years ago by Meander365
Think this is a good one to remember. Let's say you have a set of list items and all of them have a border of 1px. Inside you have an image. When you hover over each list item you want the border to change thickness to 2px. The trick is to...
1 1248 posted 16 years ago by Meander365
This is a really useful techniques for preloading images on your website. Just place this code after the body tag in the CSS file. Everytime you refer to this image in your CSS file the image will be loaded from cache.
1 1100 posted 16 years ago by SunilTee
Enables you customise the colour of your <li> bullet points.
0 1222 posted 16 years ago by nostradamuszen
0 739 posted 16 years ago by pats
0 786 posted 16 years ago by pats
0 817 posted 16 years ago by pats
3 927 posted 16 years ago by jfleblanc
1 850 posted 16 years ago by jfleblanc
1 1074 posted 16 years ago by benedikt
0 1039 posted 16 years ago by terrencewood
Doesn't work in IE6, so use this to enhance sites rather than use thenm for required information. Very handy for adding a PDF icon behind a link. Make icons very small (16px x 16px) and with transparent space on left and top to make it look more al...
4 1064 posted 16 years ago by carriegates
1 ... 17 18 19 20 21 ... 28