Filling Div With Color?

Discussion in 'CSS' started by gobbly2100, Dec 28, 2007.

  1. #1
    Hey,

    I have a small white block showing at the bottom of my menu but how can I make sure the div expands all the way to get rid of that?

    It should be the "column_left" div that needs editing.

    Web Resources

    Any help is much appreciated, thanks!
     
    gobbly2100, Dec 28, 2007 IP
  2. manishk

    manishk Peon

    Messages:
    63
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Search for faux columns on this forum or Google it.
     
    manishk, Dec 28, 2007 IP
  3. ultraonix

    ultraonix Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Giving a background color for wrapper solves your problem

    #wrapper {
    width: 980px;
    margin: 10px auto 10px auto;
    background-color:#000000;
    }

    Thanks!
    Rose
     
    ultraonix, Jan 2, 2008 IP
  4. jordanthegreat

    jordanthegreat Active Member

    Messages:
    390
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #4
    This will result in the footer having a background colour of black as well, which I assume he does not want. Black will also appear in the content div on pages where the nav is longer than the content.

    As manishk suggested, faux columns are what you need to look in to.
     
    jordanthegreat, Jan 2, 2008 IP