Sent by Andreas_Håkansson on 11 October 2005 19:07
Thank you Gunlaug Sørtun and David Laakso for your feedback. The
solution was so simple it was almost to obvious :-) Just don't set a
100% width on the div and it will play nice with the margins. To clear
up my vauge description of the problem. I have two divs, one 800px
wide, centered (margin: 0 auto / text-align: center) and one below
which should be 100% wide minus the margins.
Works like a charm =)
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/