English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Hi, Im trying to set the background image for a div to fit. You see, the contents in the div are dynamic which means i cant set it to a fixed size, but i need it to have a pre-made background and i dont want it to tile or repeat...... Any ideas on how to do this?

2006-08-25 05:25:56 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

You can't stretch background images. You do have some options to fake it though:

1) Create an image that when tiled doesn't look tiled.

2) create an image with a background that matches the page background. You can then center the background image and have that background color so it looks like it takes up the full size.

2006-08-25 05:48:34 · answer #1 · answered by John J 6 · 0 1

just fix it...


... or u can use photoshop and stretch it out...

2006-08-25 05:30:07 · answer #2 · answered by ryanisalifestyle 5 · 0 0

This page should answer your question: http://www.tutorialized.com/tutorial/Background-Stretching/13134

2006-08-25 05:30:56 · answer #3 · answered by Michael 4 · 1 0

fedest.com, questions and answers