MaggsWeb:7

www.maggsweb.com

Implementing a W3C valid, cross-browser compatible CSS2 ‘Box Model’, overcoming the bugs in IE without hacking.

#Column {
	padding: 100px !important;
 	padding: 70px;
 
 	/* <strong>!important</strong> is ignored by IE
 	so IE overwrites the initial padding value with the next entry.
 	The secondary value is ignored by Mozilla,
 	as the primary value contains !important */
 
	height: 450px !important; 	/* Mozilla */
 	height: 400px; 			/* IE */
 
}
Share this:
  • Print
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • LinkedIn
  • Twitter

Write a Comment

Let me know what you think?