[thelist] CSS layout review

Gunlaug Sørtun gunlaugs at c2i.net
Wed Sep 27 09:53:35 CDT 2006


John DeStefano wrote:

> http://tinyurl.com/l2ekm
> 
> Some specific issues I could use your help with: - how to get the
> layout to degrade gracefully with decreasing browser width in IE
> (seems OK in Firefox)

Restyle centering to something IE can handle...

html body {
margin: 0;
padding: 0;
text-align: center;
}

div#container {
text-align : left;
width: 900px;
margin: 0 auto;
}

...and IE won't even degrade it.

Add...

ul {margin: 14px 0;}

...and it'll be more uniform across browser-land.

	Georg
-- 
http://www.gunlaug.no



More information about the thelist mailing list