Look into Conditional Comments (supported only by IE, search for it over at
http://microsoft.com ) although in this case you don't really need to hide
it from other browsers since you will need to set text-align: left for your
textual content anyway.
I've been meaning to research Conditional Comments, anyway. I'll give
it look. However, I'll probably go with the other option: setting the
body to text-align: center; and everything else to :left;.
However, in your case I would question why you need the page to be exactly
this many pixels wide. All your visitors (except those few who have their
browser exactly the same size as yours) will have either a horizontal
scroll bar or wasted space in their viewport. What is wrong with using
width: 100% for your content?
I like the control of a fixed width layout. I figure the percentage of
people with 800px or wider displays is high enough to go with a 760px
wrapper. Here's what the Web Style guide says:
Graphic "safe area" dimensions for layouts designed for 800 x 600
screens:
Maximum width = 760 pixels
Maximum height = 410 pixels (visible without scrolling)
I hate reading text that flows all the way across the page.
Readability studies show that people read and retain more with shorter
horizontal scan. That, and I can never get graphics to look good in
liquid layouts. So those are my reasons. Although there are some very
elegant 100% width pages out there.
Thanks again for your input and advice.
Josh