Override inline CSS styles

This handy chap has simply showed the light of CSS overrides, nice and easy really. Slap important over what inline styles you want overridden! <div style="background: red;"> The inline styles for this div should make it red. </div> div[style] { background: yellow !important; } src: http://css-tricks.com/2708-override-inline-styles-with-css/

Flash Scaling with Firefox

If you're making a flash clip take up the entire browser window, as can be necessary on occasion, in most browsers throwing in height="100%" works fine. Not so with firefox. Firefox interprets the doctype strictly, which disables the internal elements from setting the height of the window (100% of something in a div, will just... Continue Reading →

Centering DIVs with CSS in IE

This will align your divs in the center for Internet Explorer if the old standard margin-left:auto etc. doesn't do the do. body { text-align:center; margin:0px; } #center_box { padding-top:200px; width:700px; margin:0 auto; text-align:left; }

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑