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.

1 comment:

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).

Food Blogs may be cool, but here it's back to School. Join this forum and together we can learn more about the technicalities of blogging and make our collective blogs even more delectable than they are already.

This is a forum for all food and drink bloggers. If you want to join the team, sign up to be a member by sending both the name of your blog and its url AND YOUR EMAIL ADDRESS in the body of the email to Food.Blog.Scool@gmail.com

Members will have the ability to start threads on this site, but absolutely anyone can post comments. Food Blog S'cool membership is open to anyone with a Food or Drink Blog. Please be patient whilst I sign you up. Admin is only completed about once a month. Thank you.

Food Blog S'cool is not responsible for any comments or posts on this site. Individuals are responsible for their own content and should be mindful that they do not say write anything that breaks the law or infringes on copyright.