Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged c



1 ... 28 29 30 31 32 ... 39
removed 10px margin on the body tag.
1 1083 posted 16 years ago by cschlens
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 1460 posted 16 years ago by kstetson
Assign this class to any element that needs to have layout (hasLayout=true) and it will get it. ...with the style placed inside IE conditional comments, it will be ignored by the validator, which removes the only obstacle to using zoom:1 - which has...
2 1194 posted 16 years ago by jessibird
You can turn off Safari and Opera’s blue outline focus style using:
0 1064 posted 16 years ago by fabi
Change Text Highlight Color | Prevent Firefox Scrollbar Jump | Print Page Breaks | Attribute-Specific Icons | CSS Pointer Cursors | Prevent Safari Resizeable Text areas
2 914 posted 16 years ago by benjaminpearson
How to center a div horizontable and vertical ... in short code.
3 1161 posted 16 years ago by fsn
Finally got round going through a sliding door example myself. All fairly straightforward apart from a few IE6 issues (who would have guessed!). The button is floated so you may need to add overflow: hidden to it's container.
1 1498 posted 16 years ago by 1man
1 1317 posted 16 years ago by sixmedia
Infos via Link
0 886 posted 16 years ago by nico65
Styling of the hcard (vcard) HTML snippet
0 1154 posted 16 years ago by visualpropaganda
Excellent article on using a CSS Template layout system that makes customizing web pages a step easier.
3 1253 posted 16 years ago by donjuanito909
Useful little spippet for a button anchor where the text may change.
0 1445 posted 16 years ago by 1man
2 1074 posted 16 years ago by kristarella
When you hover over the “message” div, the “controls” div inside it will appear, along with all of its content, giving you the same functionality as used by the Twitter web app. There may be an issue with accessibility because screen reade...
0 1084 posted 16 years ago by justinseiter
Min-height of an element that works in all browsers.
2 1355 posted 16 years ago by avantsi
This method maintains its integrity with all combinations of images on/off and CSS on/off. This method works by laying an empty span over the top of the parent element with the required image applied as a background to that span. There is howev...
4 1835 posted 16 years ago by justinseiter
2 965 posted 16 years ago by justinseiter
This sticky footer solution is working in all major browsers, including Google Chrome! It works with floated 2-column layouts and we don't get overlap in re-sized browser windows unlike older solutions you find when you Google sticky footer. And you...
8 2097 posted 16 years ago by justinseiter
When we can't or won't change the code of image tag with align attribute, but no 'style="margin: 0 10px 10px 0;' or 'hspace=10px' (IMHO, hspace makes bad looking layout in most cases) code within (just pure <img> code), we can use simple CSS rules f...
1 1518 posted 16 years ago by kossmoss
Thanks to perishablepress.com for this. Below is an example for ie6 max-height. From their site: "This method has been verified in IE6 and should also work in IE5. Simply change the values to suit your needs (code commented with explanatory notes...
1 1342 posted 16 years ago by charmcitycoder
Since there are still many people using IE6, we have to cater for them :-( Anyway, this CSS statement shows a declaration for a PNG Logo. Most browsers will understand the first 5 lines. Sadly, IE6 will not be able to use the transparent PNG from l...
1 1226 posted 16 years ago by AshMan
X can be any numeric value.
1 1157 posted 16 years ago by BFTrick
0 1134 posted 16 years ago by bigheadlyf
1 998 posted 16 years ago by bigheadlyf
From this article, Martin "mpot" Pot mention: " The above CSS definition is defining a style called noprint, and will only be applied to printed content. Setting the display property to none means any content using this CSS style will not be displ...
0 2461 posted 16 years ago by HubertGaulin
In IE6 (+7?) the fieldset width doesn't automatically resize to fit the width of the parent container.
1 1040 posted 16 years ago by hotdiggity
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 1468 posted 16 years ago by charmcitycoder
margin-top è la meta dell'altezza / margin-left è la metà della larghezza
0 993 posted 16 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 1343 posted 16 years ago by BFTrick
1 ... 28 29 30 31 32 ... 39