Welcome To Snipplr


Everyone's Recent Snippets Tagged css



1 ... 29 30 31 32 33 ... 41
0 591 posted 15 years ago by bigheadlyf
1 508 posted 15 years ago by bigheadlyf
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 760 posted 15 years ago by charmcitycoder
margin-top è la meta dell'altezza / margin-left è la metà della larghezza
0 510 posted 15 years ago by BoNzO
really simple random bg image. Save images starting at 1.jpg. Put in your jquery selector. Etc, etc.
8 929 posted 15 years ago by ira
2 746 posted 15 years ago by hotdiggity
Refer to [This snipplr](http://snipplr.com/view/13653/css-firstchild-test/), added head and body section, even Firefox won't match first-child
0 709 posted 15 years ago by angusdev
Firefox 3: blue Chromium build 12758: black
0 553 posted 15 years ago by angusdev
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 676 posted 15 years ago by BFTrick
1 676 posted 15 years ago by hotdiggity
To centre, make "line-height" the same as the div height.
0 739 posted 15 years ago by hotdiggity
1 492 posted 15 years ago by hotdiggity
1 698 posted 15 years ago by hotdiggity
<table> <tr> <td>Head</td> </tr> <tr> <td>Subhead</td> </tr> <tr> <td>text</td> </tr> </table>
0 554 posted 15 years ago by hotdiggity
1 499 posted 15 years ago by hotdiggity
A replacement for now deprecated align attribute: <img>
1 678 posted 15 years ago by hotdiggity
Equalizing Two Column Layout with Full Width Header ~ Fixed Width Content
0 509 posted 15 years ago by hotdiggity
changed to detect sring sheet first, then to try object extension.
2 658 posted 15 years ago by pdswan
Learn how to create drop caps using CSS and no extra HTML markup in this short tutorial.
1 756 posted 15 years ago by neal_grosskopf
fix for IE, adds getComputedStyle method for the object window and getPropertyValue method for the object, which returns getComputedStyle
1 3641 posted 15 years ago by Jman
1 513 posted 15 years ago by matski
0 650 posted 15 years ago by conspirator
<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 430 posted 15 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 624 posted 15 years ago by jlizarraga
Learn how to use CSS to save the environment by not wasting unnecessary paper and ink.
1 684 posted 15 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 772 posted 15 years ago by jadedbat
1 ... 29 30 31 32 33 ... 41