How do I make the BG flow down?

Discussion in 'CSS' started by icenat7, Apr 11, 2007.

  1. #1
    Alright I want the make the background layer (#main if you look at the stylesheet) go down so that it does what its supposed to. I want it to go down then have a 5px padding after all content and before the #bottom layer.

    http://www.share2.us/ID/labs

    Please help
     
    icenat7, Apr 11, 2007 IP
  2. briansol

    briansol Well-Known Member

    Messages:
    221
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #2
    since left and right are flaoted, you need to clear it.

    add
    clear: both;
    to #bottom
     
    briansol, Apr 11, 2007 IP
  3. icenat7

    icenat7 Well-Known Member

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    121
    #3
    i did that already didnt work... i want the background of the #main layer to go all the way down...
     
    icenat7, Apr 11, 2007 IP
  4. briansol

    briansol Well-Known Member

    Messages:
    221
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    #4
    
    #main{
    	background-color:#EFEFEF;
    	border:1px solid #999;
    	padding:10px;
    	margin-bottom:10px;
    	clear:both;
    }
    
    Code (markup):
    you don't even have a BG image in your #main.... so i'm not even sure what you're asking...
     
    briansol, Apr 11, 2007 IP
  5. icenat7

    icenat7 Well-Known Member

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    121
    #5
    its the color that i want to go down
     
    icenat7, Apr 11, 2007 IP