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
  • #28051

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

    body {
    font-family: Arial, Helvetica, sans-serif;
    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

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