Jump to content

Stretch it?


Guest SsJ_Naruto-Vash
 Share

Recommended Posts

Guest SsJ_Naruto-Vash

Hmmm, I was wondering if it was possible to have a background image that has 100% of the height and width of the page. If it's possible, how would I go about? I currently have this:

<body background="images/background.jpg">

and I tried these:

<body background="src='images/background.jpg' width='100%' height='100%'">   and<body background="img src='images/background.jpg' width='100%' height='100%'">

Any ideas? where am I making mistakes?

Link to comment
Share on other sites

umm..as far as i know, a background image doesn't stretch, it repeats itself if the image is smaller than the screen size.the only way that i know of is to make the background image big enough to fill the biggest possible screen size without compromising the picture and download time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...