Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Top Margin in IE8

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #28051
    suggy1982
    Member

    I am using the following CSS for the body and container of my web site

    Code:
    body {
    font-family: Arial, Helvetica, sans-serif;
    font-size:12px;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #000000;
    background-color: #FFF;
    }
    .twoColFixRtHdr #container {
    width: 1080px;
    margin: 0 auto;
    text-align: left;

    When I view the site in IE8 there is a margin at the top of the page, but when I view in IE6 or IE8 (Compatability Mode) the margin isn’t there.

    Any thoughts or suggestions would be greatly appreciated.

    If you want to view the site http://www.pers.sugden-uk.com/

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.