Monday, January 16, 2006

[HTML] Column Help

My center column shows up centered in IE but not on other browsers. I want it left justified in all browsers. Can someone tell me what I am doing wrong? I have been over the HTML several times and don't see my error.

Michele ~ Chef Michele's Adventures

1 comment:

Anonymous said...

I'm afraid this one isn't a simple fix. There's a little too much clean-up work for a quick look.

The short answer is that when you use text-align:center; as you have in your body style to center the page, all descendants will need to be corrected with text-align: left. Applying that attribute to a the content and post p styles might work.

The long answer is your DTD (document type definition) is set to XHTML strict, and most of your code doesn't comply to that definition. You also have several cases of tags which aren't nested correctly, some of which are center tags, which may be confusing the problem (and in some Mac browsers causing others).

Hope this helps.