Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder ghostz00's Avatar
    Join Date
    Aug 2006
    Posts
    128
    Thanks
    11
    Thanked 2 Times in 2 Posts

    css background image will not align to the bottom of the footer.

    I can get it to work with no margins. But I need the margins to push the text out of the way of the image about 15px. The margins just shift my background image to the right;

    My CSS is as follows.

    Code:
    #footer{
    	padding: 0 0 20px 0;
    	margin: 0 15px 0 15px;
    	background: #787746 url("../images/footer.gif") no-repeat center bottom;
    	bottom:0px;
    	position:absolute;
    	width:100%;
    }
    any ideas?
    Greg

  • #2
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by ghostz00 View Post
    But I need the margins to push the text out of the way of the image about 15px.
    Hmm... not sure what you mean by that? Do you have a link so we can see for ourselves?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •