how to change footer background color using CSS?

Discussion in 'CSS' started by devin, Feb 9, 2006.

  1. #1
    in the screen shot below is a view of a test page that i'm doing. i can't figure out how to change the footer background color to some other color. in this CSS code:
    i thought the red entry controls the color, but no effect even when i edit that part. can someone help me please? :)
     

    Attached Files:

    devin, Feb 9, 2006 IP
  2. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #2
    You have text color and background the same ?
     
    iatbm, Feb 9, 2006 IP
  3. devin

    devin Guest

    Messages:
    4,461
    Likes Received:
    449
    Best Answers:
    0
    Trophy Points:
    0
    #3
    well, i tried that but the thumbnail is the result. i don't see any text "disappearing" due to them having the same colors.
     
    devin, Feb 9, 2006 IP
  4. draculus

    draculus Peon

    Messages:
    63
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    #notice{ /* another IE fix: changed font-size */
    clear: both;
    margin: auto;
    padding: 5px 7px;
    color: inherit;
    font: x-small arial,verdana,sans-serif;
    [COLOR="Red"]background: #007700;}[/COLOR]
    
    #pageContainer > #notice{
    clear: both;
    margin: auto;
    padding: 5px 7px;
    color: #0066CC;
    font: small arial,verdana,sans-serif;
    [COLOR="red"]background: #0066CC;}[/COLOR]
    Code (markup):
    you have the colour specified in two locations. If your viewing in IE you need to change the first value.
     
    draculus, Feb 9, 2006 IP
  5. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #5
    did you place another div within pageContainer? if so, properties of the latest div will take precedence...
     
    daboss, Feb 9, 2006 IP
  6. devin

    devin Guest

    Messages:
    4,461
    Likes Received:
    449
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ah...thanks for pointing it out! i think that's where the problems lie. :)
     
    devin, Feb 11, 2006 IP