Welcome To Snipplr
Everyone's Recent CSS Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Very quick CSS addon to create a checkerboard background color "grid".
Not compatible with Internet Explorer (until they start accepting better CSS selectors).
1
1408
posted 14 years ago by cryode
Use this little bit of CSS to get rid of the active link dotted border in Firefox. A must have when doing the text-indent:-9000px; image replacement technique on links.
0
927
posted 14 years ago by toddaeverett
Remove that pesky dotted border around img elements, especially images / link tags.
0
862
posted 14 years ago by CDIDevs
For instances where you have an empty div that is less than about 10-15px in height. IE assumes it should contain something and allots room for text.
I first found this on the webdeveloper.com forums. The fix here is ultimately the "font-size:0" d...
0
749
posted 14 years ago by CDIDevs
Be sure that elements appearing on top don't have position:relative.
If inherited, try overriding with position:static
0
673
posted 14 years ago by CDIDevs
Use this userstyle with Fluid for a sweet desktop Google Voice application.
0
659
posted 14 years ago by schlaeps
If you have not already been writing your border-radius statements with progressive enhancement in mind, now is most definitely the time to do it.
3
901
posted 14 years ago by justinseiter
You have a white shine on top just by changing the background color in whatever color you like.
0
725
posted 14 years ago by crs
A way to do 100% DIVs that adjust to content and center themselves both vertically and horizontally automatically. Tested for all browsers at 1920X1080 resolution. The 96% body height fixes Firefox and IE scrollbars that appear without reason and mig...
1
854
posted 14 years ago by bryanlyman
Inspired by http://particletree.com/features/rediscovering-the-button-element/
1
691
posted 15 years ago by cssbutton
display: block; needed for IE7 to enable the negative text-indent.
2
1120
posted 15 years ago by adambundy