Place div at base of content but background image to extend to base of window

I have a div called footer with a background image.

But I need this footer to be at the end of the page, after all of the content, but the background image needs to extend to the bottom of the page(repeat vertically and horizontally.

so far i have

<div id="wrapper">content</div>
<div id="footer">Footer</div>
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666666;
	text-decoration: none;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-top: 25px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-image: url(../images/footer_backing.gif);
	background-repeat: repeat-x;
	background-position: center top;
	overflow: visible;

Open in new window

Cheryl LanderAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

>>repeat vertically and horizontally
repeat: both;

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cheryl LanderAuthor Commented:
but I don't want the images tiled vertically.

I need a background color.
>>but I don't want the images tiled vertically
That contradicting "repeat vertically and horizontally"
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Cheryl LanderAuthor Commented:
Sorry getting confused.

ive got a tiled strip image which is 100px high.
This is currently tiled horizontally across the page.
This div is directly under the last piece of content.

So I need to have a background color to fill the rest of the screen vertically right to the bottom of the page.

does this make sense.

Mark StegglesWeb DeveloperCommented:
you can specify background-color aswell as image in one statement:

background: #369 url() repeat-x center top
Cheryl LanderAuthor Commented:
Yes I know.

but if there is no height specified for the div, how do I make it have the background color right to the end of the page.
Mark StegglesWeb DeveloperCommented:
Can you post a link to the page? Or can you post all the html and css
Cheryl LanderAuthor Commented:
another div was affecting it.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.