Welcome To Snipplr


Everyone's Recent Snippets Tagged css



1 ... 31 32 33 34 35 ... 41
0 1028 posted 16 years ago by sveggiani
Test page to check the support of different CSS media types in browsers. If you go into Print Preview, for example, the Print media type should show as "In Use" if it is supported.
0 1331 posted 16 years ago by wizard04
Centering a div with css is easy, but there are some compatibility quirks...
1 1583 posted 16 years ago by jarnaldich
A simple CSS box .
2 989 posted 16 years ago by cbx
Figure 5. Selecting the first-child LI elements that descend from a UL element. By combining the first-child pseudo-class with the adjacent-sibling selector, it's possible to pick children other than the first one. For example, you might want to a...
0 1036 posted 16 years ago by davebowker
6 1311 posted 16 years ago by AlexWolfe
Grab http://blog.kissmetrics.com/common/images/required.png as example for a required image . NOTE: You probably don't want to use this trcik, but rather go for the defacto standard of a red asterisk to mark something required. An asterisk is lang...
1 1159 posted 16 years ago by berkes
This is a general set of style sheet commands that you can add to your CSS. It basically creates styles for very general actions that we take when creating layouts. This will make it easy to float, clear, and position elements by giving them a generi...
1 1027 posted 16 years ago by AlexWolfe
0 800 posted 16 years ago by philiph
Add class external to all target=_blank links
4 1316 posted 16 years ago by gfazioli
1 812 posted 16 years ago by johnloy
6 1096 posted 16 years ago by goo
Learn a new and seldom used method of clearing floats in CSS.
3 1283 posted 16 years ago by neal_grosskopf
Glossy slide door black menu with blue hover styled which can be used on white backgrounds
1 1191 posted 16 years ago by settysantu
0 1070 posted 16 years ago by lemur
2 1136 posted 16 years ago by iTony
3 988 posted 16 years ago by iTony
Should also work in IE6 because of the filter
5 1444 posted 16 years ago by 1man
0 1267 posted 16 years ago by ascarion
A simple way to create a double-border effect (i.e. for images) in all browsers.
1 1162 posted 16 years ago by sidisinsane
Only tested in Safari 3, Opera 9.5 and Firefox 2 (all Mac OS) for now, but it should actually work. If you run into any problems, please provide some feedback.
2 1225 posted 16 years ago by sidisinsane
32 8938 posted 16 years ago by sidisinsane
In Firefox and Internet Explorer, the table caption element will be a pixel narrower than in other browsers. Find out how to fix this annoying problem.
1 1120 posted 16 years ago by neal_grosskopf
Remove that pesky dotted border around img elements, especially images inside <a> / link tags.
4 1416 posted 16 years ago by charmcitycoder
1 1068 posted 16 years ago by joshontheweb
1 1048 posted 16 years ago by Wiederkehr
4 1272 posted 16 years ago by kcmr
Cool font for use in web 2.0 sites
1 1143 posted 16 years ago by kossmoss
Based on templates by luxuryluke and Kevin Hale. Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is dis...
8 1606 posted 16 years ago by nighthawk
1 ... 31 32 33 34 35 ... 41