Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14547

    I was checking my pages in different browsers and found that two custom category pages were aligning left in IE instead of center. Here is a link. http://johnsoncountytnchamber.org/mountain-view-exxon/ should be aligned center like all other pages http://johnsoncountytnchamber.org/the-snake-motorcycle-road-trip/.

    Is only happening in IE.

    #83924

    IE = Internet Explorer.

    Any thoughts on this?

    #83925

    Hi 7websitedesign,

    Your site is getting put into Quirks mode in IE because of some extra styling before the doctype declaration. You’ll need to move that down further so that it doesn’t cause the issue.

    Regards,

    Devin

    #83926

    What page or pages exactly is the extra styling before doctype declaration? Sorry if this is stupid question, but I don’t know. Thanks in advance.

    #83927

    I’m not sure what is actually generating it, but if you inspect or view the source of your page you’ll see:

    <style type="text/css">

    #orgtags {

    color: #360;

    font-size: 14px;

    }

    </style>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    at the very top. It should be only the !DOCTYPE line with nothing before it. It could be a plugin causing it or if you added it into your header.php yourself I can’t really say for sure.

    Regards,

    Devin

    #83928

    Thanks so much for the help. That fixed it. I had it before the header call in the archive.php file and in a separate category template as well.

    #83929

    Hi!

    Glad that it works now :)

    Regards,

    Peter

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘IE Aligning custom category pages to the left instead of center’ is closed to new replies.