WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Weird Layout Problem (3 posts)

  1. markdw
    Member
    Posted 6 years ago #

    I have created my own custom theme for the site educationthemes.co.uk. On Firefox the site works a treat and it is the same with Safari and Opera, however in Internet Explorer there are some stange things happening which I just cannot figure.

    As you can see on the homepage the container sits to the left which is shouldn't. It should sit in the centre like all the others however they are using the same div and CSS rule (container).

    Also on the home page my body tag displays correctly as I have given it margin and padding zero, however on the other pages it doesn't display a zero margin at the top.

    I have been searching for this for days now and bar recoding the entire theme I am at a loss as to what to do. I have tried everything, but if anyone can help then it would be much appreciated.

    educationthemes.co.uk

  2. markdw
    Member
    Posted 6 years ago #

    I have managed to fix this. All it was, was some notation code that I have put into home.php before it called the header.php file.I just removed that code and it worked. Horray.

  3. Kalon
    Member
    Posted 6 years ago #

    Haven't thay made that browser illegal yet? I guess that its a good tool to see if your code is slightly wrong; the browser will mess up completley if so.

Topic Closed

This topic has been closed to new replies.

About this Topic