Moving Background Image

Discussion in 'CSS' started by gobbly2100, Aug 16, 2007.

  1. #1
    Hey!

    How do I make an image go to the bottom of my div?

    #header {
    	width:100%;
    	height:80px;
    	background-image: url(/images/bg_002.gif);
    	background-repeat: no-repeat;
    }
    Code (markup):
    That is what I have so far although it is not needed, I just want to know what I put to make the image go to the bottom as opposed to starting at the top.
     
    gobbly2100, Aug 16, 2007 IP
  2. bobby9101

    bobby9101 Peon

    Messages:
    3,292
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #2
    #header {
    width:100%;
    height:80px;
    background: url(/images/bg_002.gif) no-repeat no-repeat bottom center;
    }
     
    bobby9101, Aug 16, 2007 IP
  3. gobbly2100

    gobbly2100 Banned

    Messages:
    906
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you! :D
     
    gobbly2100, Aug 16, 2007 IP
  4. bobby9101

    bobby9101 Peon

    Messages:
    3,292
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #4
    your welcome
     
    bobby9101, Aug 16, 2007 IP