Thx! Indeed it was the javascript function preceding my DOCTYPE. Greets, Maarten
----- Original Message ----- From: "Al Sparber" <[EMAIL PROTECTED]> To: "Maarten Reynders" <[EMAIL PROTECTED]>; <[email protected]> Sent: Friday, November 25, 2005 6:24 PM Subject: Re: [css-d] Centering problem > From: "Maarten Reynders" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Friday, November 25, 2005 11:57 AM > Subject: [css-d] Centering problem > > >> Hi, >> >> I used the horizontal align code I found in previous posts of this >> list. My site now is perfectly centered in Mozilla Firefox, but in >> Internet Explorer it sticks to the left. >> Site can be found at: http://www.auberge-lebonvivant.be/index.php >> CSS can be found at: >> http://www.auberge-lebonvivant.be/design/css/style.css > > Move the script that comes before your DOCTYPE down into the head > section. If there is anything preceeding the DOCTYPE, IE6 will go into > quirks mode and use the IE5 box model. > > Al Sparber > PVII > http://www.projectseven.com > > "Designing with CSS is sometimes like barreling down a crumbling > mountain road at 90 miles per hour secure in the knowledge that > repairs are scheduled for next Tuesday". > > > ______________________________________________________________________ > 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/
