Background color not changing in IE.

Discussion in 'CSS' started by abiz181, Jan 7, 2008.

  1. #1
    Hi,
    Ichanged the background color in mywebsite, but the change only happened in FF and not in IE. Any suggestions?

    Angelo
    www.domesticcarpartsemporium.com
     
    abiz181, Jan 7, 2008 IP
  2. t.sealey

    t.sealey Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    IE 7 There is a light grey container/div whatever you call it.

    Background color is white which you can see at top half and bottom half.

    Post Code. What exactly is wrong.
     
    t.sealey, Jan 7, 2008 IP
  3. abiz181

    abiz181 Peon

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So theres my problem. I am using IE6 because we have apps at work that dont run on IE7. I will check it out. Thanks for the reply.
     
    abiz181, Jan 7, 2008 IP
  4. t.sealey

    t.sealey Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    [​IMG]

    IE7.. It did not look like that before though. The main area was strected to fit window.
     
    t.sealey, Jan 7, 2008 IP
  5. abiz181

    abiz181 Peon

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Here is the code:

    body#background {
    background-color: #F9F9F9;
    }
     
    abiz181, Jan 7, 2008 IP
  6. t.sealey

    t.sealey Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    body {
    background-color: #F9F9F9;
    }

    Dont delete the part you already have though.

    add that at beginning of CSS tell me what happens.
     
    t.sealey, Jan 7, 2008 IP
  7. abiz181

    abiz181 Peon

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Nope, still the same.
     
    abiz181, Jan 7, 2008 IP
  8. t.sealey

    t.sealey Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    body {
    background-color: #F9F9F9;
    }
    body#background {
    background-color: #F9F9F9;
    }

    post the entire css code.
     
    t.sealey, Jan 7, 2008 IP
  9. abiz181

    abiz181 Peon

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    /* Main Template Start */
    #page {
    background-color: #C9C9C9;
    margin: 0px;
    padding: 10px;
    width: 970px;
    border-style: solid;
    border-color: #CACACA;
    border-width: 1px;
    display: block;
    }

    #header {
    margin: 0;
    padding: 0;
    height: 180px;
    width: 968px;
    border-style: solid;
    border-color: #33ccff;
    border-width: 1px;
    }

    .headerimg {
    margin: 0;
    background: url('images/logo.jpg') no-repeat;
    height: 180px;
    width: 968px;
    }

    body {
    background-color: #F9F9F9;
    }
    body#background {
    background-color: #F9F9F9;
    }

    body {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
    font-family: Arial, Helvetica, Sans-serif;
    }
     
    abiz181, Jan 7, 2008 IP
  10. t.sealey

    t.sealey Peon

    Messages:
    110
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I snet you a pm with a picture.. Tell me exactly what is wrong. I would guess it has something to do with the padding?
     
    t.sealey, Jan 7, 2008 IP