Welcome To Snipplr


Everyone's Recent CSS Snippets



1 ... 30 31 32 33 34 ... 39
0 756 posted 16 years ago by sebastianassaf
Find out how to do rounded corners in CSS. A new method has recently come out that makes it extremely easy to implement.
3 1701 posted 16 years ago by neal_grosskopf
0 950 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 1229 posted 16 years ago by wizard04
Centering a div with css is easy, but there are some compatibility quirks...
1 1206 posted 16 years ago by jarnaldich
A simple CSS box .
2 899 posted 16 years ago by cbx
This will create a bulleted list using images as the bullets.
2 1007 posted 16 years ago by cbx
6 2900 posted 16 years ago by alli14404
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 949 posted 16 years ago by davebowker
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 1065 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 913 posted 16 years ago by AlexWolfe
6 988 posted 16 years ago by goo
Learn a new and seldom used method of clearing floats in CSS.
3 1156 posted 16 years ago by neal_grosskopf
Glossy slide door black menu with blue hover styled which can be used on white backgrounds
1 1071 posted 16 years ago by settysantu
0 985 posted 16 years ago by lemur
In original Shea Enhancement, image had higher z-index than drop-down menu items. Changing z-index of entire H1 made text appear above image in some browsers. Could not change z-index of menu items. Added an extra span tag and two classes to the m...
0 1085 posted 16 years ago by skylenewman
2 997 posted 16 years ago by iTony
3 873 posted 16 years ago by iTony
Should also work in IE6 because of the filter
5 1284 posted 16 years ago by 1man
Fortunately there are a couple of workarounds which are also explained in this article at Position Is Everything:
1 794 posted 16 years ago by dvdrtrgn
A simple way to create a double-border effect (i.e. for images) in all browsers.
1 1069 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 1128 posted 16 years ago by sidisinsane
32 6073 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 1014 posted 16 years ago by neal_grosskopf
Remove that pesky dotted border around img elements, especially images inside <a> / link tags.
4 1291 posted 16 years ago by charmcitycoder
1 943 posted 16 years ago by Wiederkehr
Cool font for use in web 2.0 sites
1 1031 posted 16 years ago by kossmoss
Simple enough.
3 1190 posted 16 years ago by mattkenefick
1 ... 30 31 32 33 34 ... 39