Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
adopted from:
http://www.alistapart.com/articles/makingcompactformsmoreaccessible/
0
817
posted 14 years ago by cfleschhut
For when you sometimes forget the precise syntax. First is from html, second from css file.
0
833
posted 14 years ago by rumremix
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
This is a method that I use to easily wrap an HTML container with nice curly quotes. I much prefer this method over using images because the quotes can be easily stylized using css fonts, colors, and sizes. Also, the markup is semantically correct.
1
986
posted 14 years ago by MikeyLikesIt
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
NOTE: THIS HAS BEEN MOVED TO GITHUB:
If you have any ideas or improvements for this script feel free to fork or contribute or discuss over there:
https://github.com/adamcoulombe/jquery.customSelect
Plugin Download: http://www.adamcoulombe.info...
2
1583
posted 14 years ago by adamcoulombe
1. Use absolute positioning to place label over the text box
2. Hide label except when JS is enabled
3. Use jQuery to hide label when field receives focus
1
684
posted 14 years ago by flicity
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