38 users online (2 members and 36 guests)  


  Results 1 to 3 of 3

Related

  1. Unwanted Toolbar    Forum: HTML Forum
    Replies: 1
  2. Unwanted I.E. Information Bar Message    Forum: HTML Forum
    Replies: 5
  3. Unwanted Border on JPEG using CSS    Forum: CSS Forum
    Replies: 13
  4. Unwanted scrollbar gap    Forum: HTML Forum
    Replies: 1
  5. Unwanted border outside table    Forum: HTML Forum
    Replies: 3
  1. #1
    marthaquest's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2008
    Posts
    1

    Unwanted margin at Top of site.

    Hello all,

    Newbie designer here.

    I have tried and tried to make the white space go away from the top of my pink header.

    www.amyrmartin.com

    I think this is a CSS problem, but am not sure. The other pages on the site do not have that white margin, with the same header.

    Here is some of the CSS:

    The pink area is the "barwrapper"

    #barwrapper {
    width: 100%;
    background-color: #FCBCDC;
    padding: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    }

    Or could it be a body problem?


    body {
    font-family: 'Trebuchet MS', Tahoma, Helvetica, Arial, sans-serif;
    font-size: small;
    line-height: 160%;
    color: #7A4C1E;
    background-color: #FFFFFF;
    padding: 0px;
    margin: 0px;
    border-style: none;
    }

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Unwanted margin at Top of site.

    looks fine to me on both IE and FF
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: Unwanted margin at Top of site.

    Looks fine to me as well. I am guessing that the problem is within IE6. Try this at the top of your CSS file:

    HTML Code:
    * {
    margin: 0;
    padding: 0;
    }



Tags for this Thread