Welcome To Snipplr


Everyone's Recent CSS Snippets



1 ... 35 36 37 38 39 Next »
10 461 posted 15 years ago by designerd
4 320 posted 15 years ago by pablazo
0 304 posted 15 years ago by smilylion
To move the content away from the background image apply "padding-left" to the "LI" element. In this case "0.6em" has been used. As with vertical alignment, list padding will be determined by the size of your image.
35 2444 posted 15 years ago by zensir
Used to center tables in CSS
8 508 posted 15 years ago by atourino
0 370 posted 15 years ago by markhope
Table with style as in; http://24ways.org/examples/tables-with-style/table_columns.html
14 559 posted 15 years ago by zensir
Shows how to create a DIV box that is scrollable and looks like a IFRAME.
6 454 posted 15 years ago by hxseven
0 328 posted 15 years ago by Jaymoon
Great little debuging snippet found while browsing. The code adds different coloured borders to the assets depending on its level. Leave commented out if not needed.
96 3106 posted 15 years ago by 1man
5 412 posted 15 years ago by Corhol
This fixes a very annoying bug in IE by where when you scroll the page becomes corrupted. It relates to the way IE renders pages. This code places a null background image behind, making IE render the page differently. *note* This can also be plac...
5 461 posted 15 years ago by 1man
12 509 posted 15 years ago by masaya
A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id ta...
11 513 posted 15 years ago by 1man
3 352 posted 15 years ago by soxiam
Hacer que la propiedad with se comporte como max-width en IE. El ejemplo sería el equivalente a poner un max-width de 800px Funciona con IE 5 y 6 (7 sin probar) Estaría bien usar comentarios condicionales para evitar problemas con otros naveg...
2 336 posted 15 years ago by sendoa
The stylesheet for the LoadingMessage object (http://snipplr.com/view/347/loadingmessage-for-ajax-requests/).
11 514 posted 15 years ago by dertimbo
Javascript expression in css to allow for min/max widths. replaces the min-width, max-width that works for IE6.
78 1996 posted 15 years ago by roberocity
Simple styling for the links on a webpage using CSS. Sometimes hard to remember what order the have to be in for the :hover to work correctly. (Now fixed :)
2 522 posted 15 years ago by 1man
Markup example: See Big Curly Quotes Markup. Thx to difusion.org.uk. No need for images to make big quotes on a page, CSS does it for you. Tested in many browsers.
93 2308 posted 15 years ago by 1man
5 345 posted 15 years ago by 1man
Taken from bluerobot. Create a content div, set the width and the margin set to auto will align the div to the centre horizontally.
5 328 posted 15 years ago by 1man
Taken from Dead Centre. Adjust #content depending on the size div you need.
118 3172 posted 15 years ago by 1man
Una manera sencilla y muy limpia para utilizar tamaños de fuentes relativos y que todos los navegadores muestren el mismo tamaño de letra. Solo hay que asignar al "body" un tamaño de letra en "%" y luego al resto de elementos asignarle otro tam...
12 499 posted 15 years ago by Eloi
This snippet uses html>body instead of * html. Works in all modern-browsers, degrades to just height for older browsers.
9 567 posted 15 years ago by travis
1 ... 35 36 37 38 39 Next »