Welcome To Snipplr
Everyone's Recent CSS Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The issue appears in various places, but likely has something to do with "having layout" and is typically seen as extra whitespace between <li> elements.
0
1124
posted 14 years ago by Jamie
note that for the corners to work in IE, you need to install the htc code from http://code.google.com/p/curved-corner/
.curved {
-moz-border-radius:10px; /* Firefox */
-webkit-border-radius:10px; /* Safari and chrome */
-khtml-border-r...
4
988
posted 14 years ago by MikeyLikesIt
original source - http://www.filamentgroup.com/lab/update_styling_the_button_element_with_css_sliding_doors_now_with_image_spr/
Overides default styling
0
684
posted 14 years ago by tennison
This implements a pure CSS technique for creating triangles. A great practical usage of this is Web 2.0 style comment/speach bubbles. Demo: http://www.adamcoulombe.info/lab/css/comment-bubbles.html
1
948
posted 14 years ago by adamcoulombe
Requires markup, yes. Cross-Browser compatible, yes. Requires images, no.
0
686
posted 14 years ago by vagrantradio
When creating a drop-down menu/hover menu, the subitems will usually go as wide as the parent li. To make them go as wide as the value of their containing li you have to add a white-space: nowrap.
If you still run into issues you may have to ma...
1
752
posted 14 years ago by smoothdzion
please let me know if you know of some others... just to complete the collection.
1
758
posted 14 years ago by c4ptivate
I just thought of a great new way to organize your CSS attributes: use the first letter of a each attribute to write words that other developers will find hilarious!
0
994
posted 14 years ago by peterwooley
Very quick CSS addon to create a checkerboard background color "grid".
Not compatible with Internet Explorer (until they start accepting better CSS selectors).
1
1412
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
931
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