[WSG] CSS in IE Help needed.

2005-12-14 Thread Al Kendall
Can anyone please tell me how to fix the following script to get the div the stay in the center of the page in IE. It works fine in Firefox, but stay left in IE. body { margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; line-height: 22px;

Re: [WSG] CSS in IE Help needed.

2005-12-14 Thread Bert Doorn
G'day Al Kendall wrote: Can anyone please tell me how to fix the following script to get the div the stay in the center of the page in IE. It works fine in Firefox, but stay left in IE. Add this to your existing CSS: body { text-align:center } #content { text-align:left } Regards -- Bert

Re: [WSG] CSS in IE Help needed.

2005-12-14 Thread Ric Jude Raftis
Try this Al #content { padding: 10px; margin:5px auto; background-color: #fff; border: 1px solid #000; width: 70%; /* remove this because you are setting your margin to auto*/ } Regards, Ric Al Kendall wrote: Can anyone please tell me how to fix the following script to get the div the

Re: [WSG] CSS in IE Help needed.

2005-12-14 Thread Ben Wong
On 12/14/05, Ric Jude Raftis [EMAIL PROTECTED] wrote: Try this Al #content { padding: 10px; margin:5px auto; background-color: #fff; border: 1px solid #000; width: 70%; /* remove this because you are setting your margin to auto*/ } errr...then the div will fill the page...

Re: [WSG] CSS in IE Help needed.

2005-12-14 Thread Ric Jude Raftis
Apologies...you're right. Leave the width, although I would be setting it to 760px so it was effectively 100% in 800 x 600 and have margins in larger resolutions. I really don't understand why people want these margins though. I feel a site should be fluid to 100% irrespective of

Re: [WSG] CSS in IE Help needed.

2005-12-14 Thread Bert Doorn
G'day I feel a site should be fluid to 100% irrespective of resolution. While I agree with you in principle... Have you ever seen a site at 1280x1024 or higher resolution, 100% width and (as some designers seem to be keen on), microscopic (12px or smaller) text? Not easy to read.

Re: [WSG] CSS in IE Help needed.

2005-12-14 Thread Ric Jude Raftis
Yes, I have and in my humble opinion, poor design. Px heights for fonts are not recommended and will cause problems with higher resolution monitors at 96px and in future above. Recommendations are to set font sizes at percentages or ems. I set my font size to 100% in my body of the css and