What about left:expression(Math.floor((document.documentElement.offsetWidth - offsetWidth)/2)+"px");
For IE? Would that work on the mac version? Or does ie/mac not support expressions? -Josh -- My name was Brian McGee I stayed up listening to Queen When I was seventeen Josh 'G-Funk' McDonald :: Pirion Systems, Brisbane 07 3257 0490 :: 0437 221 380 :: [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jono Sent: Thursday, 27 October 2005 11:22 AM To: anathema; [email protected] Subject: Re: [css-d] One True Layout Centered On 10/26/05 6:45 PM, "anathema" <[EMAIL PROTECTED]> wrote: > I discovered Alex Robinson's One True Layout [props bro!] the day it > was published and have been trying to make it a fixed width centered > design. Obviously it is easy in standard compliant browsers simply by > putting a margin: 0 auto; on the wrapper. The next course of action > would be to use text-align: center on the body for IE. However, IE 5, > 5.5 and 5.2 Mac get it wrong and the wrapper is left aligned. This > clearly?? has to do with the float: left. How about feeding the wrapper - margin: 0 12.5% 0 12.5%; - for IE 5/Mac? ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/
