Username: Password:
MaggsWeb - website design

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

	#Column {
	
		padding: 100px !important;
		padding: 70px;
		
		/* !important is ignored by IE
		so IE overwrites the value with the next entry.
		The secondary value is ignored by Mozilla,
		as primary value contains !important */
		
		height: 450px !important;
		/* Mozilla */				
		height: 400px;
		/* IE */
								
	}
	

©Chris Maggs 2007

Thu, 28th Aug 2008