Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
941
posted 15 years ago by charmcitycoder
margin-top è la meta dell'altezza / margin-left è la metà della larghezza
0
661
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
1132
posted 15 years ago by ira
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
887
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
853
posted 15 years ago by BFTrick
<table>
<tr>
<td>Head</td>
</tr>
<tr>
<td>Subhead</td>
</tr>
<tr>
<td>text</td>
</tr>
</table>
0
721
posted 15 years ago by hotdiggity
Equalizing Two Column Layout with Full Width Header ~ Fixed Width Content
0
637
posted 15 years ago by hotdiggity
changed to detect sring sheet first, then to try object extension.
2
808
posted 15 years ago by pdswan
Learn how to create drop caps using CSS and no extra HTML markup in this short tutorial.
1
990
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
4171
posted 15 years ago by Jman
<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 <b> o <i></li>
<li>Todos los estilos deben darse usando C...
2
565
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
838
posted 15 years ago by jlizarraga
Learn how to use CSS to save the environment by not wasting unnecessary paper and ink.
1
848
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
948
posted 15 years ago by jadedbat