• cscott5288

    (@cscott5288)


    Hey so I just installed a custom theme that I created and for some reason all my text aligned in the center in IE for everything below the header. Doesn’t make any sense to me as I checked the text-align property for virtually every div on the blog.

    Appreciate any help.

    The site is https://www.blogtap.net.

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    You could start by sorting out the validation errors on your site. Then move onto the CSS errors.

    Thread Starter cscott5288

    (@cscott5288)

    I’ve already done that. From my perspective, none of the errors could have caused everything to go center aligned.

    esmi

    (@esmi)

    Try taking out the `align=center” markup in your top widget boxes.

    Thread Starter cscott5288

    (@cscott5288)

    Thanks, I had to tweak the elements in the header (the left box particularly) before it all validated and fixed those alignment issues I was having. I am now down to 3 errors but I can’t seem to fix them. I think its because of my doctype. I am using 4.01 strict and wordpress closes some of its own tags as if they are XHTML 4.01.

    Here are the three errors:

    * Line 13, column 163: character data is not allowed here

    …ent/plugins/contact-form-7/styles.css?ver=2.1.2′ type=’text/css’ media=’all’ />

    * Line 15, column 106: character data is not allowed here

    …pplication/rsd+xml” title=”RSD” href=”https://www.blogtap.net/xmlrpc.php?rsd” />

    * Line 57, column 89: character data is not allowed here

    …=”description” content=”Blogtap.net – yet another blog about blogging” />

    Think it’s possible to fix them without changing the doctype?

    esmi

    (@esmi)

    Not easily.You’d have to hack those plugins. Why not change the DOCTYPE to XHTML Transitional?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why is all my text center aligned in IE?’ is closed to new replies.