Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Great to see exactly the position of all the blocs in a page.
Thanks to Chris Coyier for this tip.
0
726
posted 15 years ago by HubertGaulin
When you can't use firebug to discover cross browser compatibility problems (i.e. internet explorer 6) then what's the fastest way to see the padding and margins?
A quick solution is adding a css debug class to your container. Feel free to change...
0
1120
posted 15 years ago by chrisjlee
Using the below code,you can have a rounded corner border, to have a rounded fill, please check the url..<a href="http://htmlcsstutorials.blogspot.com/2009/06/niffy-rounded-corners-using-html-and.html">Nifty rounded corners using html and css</a>
1
876
posted 15 years ago by webdevelopertut
Fixes and fallbacks for IE for [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Actually two separate stylesheets: one for IE in general and one for IE6 specifically.
[Part I](http://snipplr.com/view/16353/ "DzR Maste...
0
743
posted 15 years ago by wizard04
An add-on to [my reset stylesheet](http://snipplr.com/view/16353/ "DzR Full CSS Reset"). Many helpful classes for layout, writing styles, paged media, etc.
For the `printHref` class, you'll need to replace "example.com" with your own domain.
[P...
0
725
posted 15 years ago by wizard04
A very thorough CSS reset stylesheet I created for HTML 4.01 using CSS 3 (and older).
[Part II](http://snipplr.com/view/16354/"DzR Master Stylesheet (Part II, Classes)")
[Part III](http://snipplr.com/view/16355/ "DzR Master Stylesheet (Part...
0
745
posted 15 years ago by wizard04
Clearfix with 2 different classes: page, section
Section: takes up a whole row (much like TR);
Page: is the container for each section
0
880
posted 15 years ago by chrisjlee
I saw this somewhere else, so I can't claim to have come up with it myself. Def life-saver!
0
680
posted 15 years ago by charmcitycoder
Template Tag body_class
The coming WordPress 2.8 provides a new Template Tag, body_class. This function gives the body element different classes, which gives you the possibility to use it effectively with CSS.
3
611
posted 15 years ago by jessibird
- opacity: 0.5; Funktioniert in den neuesten Versionen von Firefox, Safari und Opera
- filter:alpha(opacity=50); für den Internet Explorer.
-moz-opacity:0.5; für ältere Versionen der Mozilla Browser wie beispielsweise Netscape Navigator, Mozilla...
2
740
posted 15 years ago by skrippendorf
Replace the markers in the CSS Bundle with these to get foldable CSSedit groups.
4
744
posted 15 years ago by dougunderscorenelson
Use javascript to add a class of last onto the first and the last li tags in the navigation (add to global.js). Then use css to style. For instance, if the first li is home, you can set the css to hide this link (if you want the logo to act as your h...
5
1101
posted 15 years ago by kstetson
Wordpress has a built in class that you can style to style the down nav state for the page you are on. Adjust div name accordingly.
1
883
posted 15 years ago by kstetson