Stretch div background image |
Stretch div background image |
Stripes |
Sep 1 2011, 02:54 PM
Post
#1
|
Newbie Group: Members Posts: 15 Joined: 11-September 10 Member No.: 12,708 |
Hey guys, I'm designing a new website and I'd like to know if it's a good choice to have one rather large image (900w 700h) to be the background of the main content layer, and if so...I'd like to have it stretch out with the content, the length-wise way. So this would mean when I write content and have it run down on spaces, the background will stretch with the div layer that has the text in it.
|
pandy |
Sep 1 2011, 05:12 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
Background images can't be stretched (yet). What you can do is position an inline image behind other content and stretch it by setting its width to 100% (and leave the height out). It may or may not look good, depending on the kind of image it is and how much it is stretched.
If it's a good idea to have a large background image is another matter. |
Lo-Fi Version | Time is now: 28th April 2024 - 12:21 PM |