Thanks very much... The text-align: left; is needed for IE 9 also. Text was centered in the Promotions slide out before adding the text-align: left.
Thanks again, Richard -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tim Arnold Sent: Monday, March 14, 2011 7:48 AM To: Lesley Lutomski Cc: [email protected] Subject: Re: [css-d] Trouble trying to center webpage On Mar 14, 2011, at 7:48 AM, Lesley Lutomski <[email protected]> wrote: > On 14/03/11 05:50, Richard Wendrock Forum wrote: > >> >> any idea as to how I can force the content to center in the page? >> > > Hi Richard, > > Try adding > > #aspnetForm {width: 1074px; margin: auto;} > > Works for me on Firefox but I can't test on anything else at the moment. > > Hope that helps. > > Lesley > ______________________________ For ie7 and lower you'll need to add "text-align: center;" to the <body> and "text-align: left;" to #aspnetForm in addition to Lesley's code. -- Tim ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html 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/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
