How do I get an image to fill entire div in CSS?

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

18-Sep-06 09:20
Hello

Does anybody know how to get an image to fill the entire width and height of the div using CSS and without loosing image definition?

Here is my example.
http://www.travelbreak.info/design.html.

Thanks for any help.
18-Sep-06 12:44
Hi

There seems to be a full stop that crept into the end of the url.

Please see:

http://www.travelbreak.info/design.html
18-Sep-06 22:44
do you want to;

Stretch the image to fit ? (it will distort)

set it as a repeating background?

Make it appear to fill the div without stretching it ?

Chris.


--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/
21-Sep-06 14:40
Thanks Chris

 
New posts
Old posts

Follow Elated