Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



1 ... 20 21 22 23 24 ... 28
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 kicker here for me was the "font-size:0"...
2 388 posted 12 years ago by charmcitycoder
margin-top è la meta dell'altezza / margin-left è la metà della larghezza
0 279 posted 12 years ago by BoNzO
The first part resets all the browser\\\'s default styles. The second part adds some styles back in and provides a few classes for common issues. The third part will check your page for invalid markup.
2 368 posted 12 years ago by BFTrick
1 346 posted 12 years ago by hotdiggity
To centre, make "line-height" the same as the div height.
0 410 posted 12 years ago by hotdiggity
1 271 posted 12 years ago by hotdiggity
<table> <tr> <td>Head</td> </tr> <tr> <td>Subhead</td> </tr> <tr> <td>text</td> </tr> </table>
0 290 posted 12 years ago by hotdiggity
1 270 posted 12 years ago by hotdiggity
A replacement for now deprecated align attribute: <img>
1 388 posted 12 years ago by hotdiggity
Learn how to create drop caps using CSS and no extra HTML markup in this short tutorial.
1 420 posted 12 years ago by neal_grosskopf
<h2>POSH => HTML semántico</h2> http://aprendiendoweb.com/2008/08/posh-html-semantico <ol> <li>Debe ser HTML válido</li> <li>No se deben usar elementos de presentación como &lt;b&gt; o &lt;i&gt;</li> <li>Todos los estilos deben darse usando C...
2 262 posted 12 years ago by demixo
This is a CSS reset snippet for the default (yui-navset-top) style of YUI TabView 2.7.0. This snippet enables rapid TabView prototyping and makes it easy to overwrite the default style while still serving the main CSS from Yahoo!'s servers. Note:...
0 343 posted 12 years ago by jlizarraga
Learn how to use CSS to save the environment by not wasting unnecessary paper and ink.
1 412 posted 12 years ago by neal_grosskopf
This is sometimes not the best solution to a server caching your css files. But if you want to force a stubborn server to serve the most recent css file to the browser this seems to work. Could slow things down a touch, but for small css files not...
1 433 posted 12 years ago by jadedbat
With the ever increasing use of alternate media types I feel there is a need to deliver JavaScript targeted to these types of devices. This would allow alternate and modified content, as well as a customized user experience through the use of modern...
2 384 posted 12 years ago by localhorst
Forzamos el subrayado en todos los casos.
1 270 posted 12 years ago by Hirmine
Learn how to style the HTML code element with CSS using CSS counters. CSS counters are the CSS equivalent to variables. In my tutorial I use CSS counters to emulate line numbers for my code block.
2 512 posted 12 years ago by neal_grosskopf
0 362 posted 12 years ago by wrburgess
A tutorial showing you how to give your images some style using only CSS rather than using Photoshop to give images a border/frame.
1 442 posted 12 years ago by neal_grosskopf
The following styles are designed to work with the markup from a custom theme override template called [upload_attachments.tpl.php](http://snipplr.com/view/11851)
1 384 posted 12 years ago by zachharkey
0 278 posted 12 years ago by m-pokrovskii
2 367 posted 12 years ago by rwczippy
Add class \"clear\" to elements that contain floated elements and they will hold the height correctly
2 333 posted 12 years ago by mihael
0 491 posted 13 years ago by jitendraweb
0 247 posted 13 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 606 posted 13 years ago by neal_grosskopf
0 290 posted 13 years ago by sveggiani
1 ... 20 21 22 23 24 ... 28