Setting a Background with Images that are Stretched instead of tiled?

This should be an easier one for you guys. You know when you set a background as an image, it tiles, leaving multiple overlapping pictures. But what do I do if I want the picture stretched instead? I appreciate your help. Thanks guys.
Who is Participating?
QPRConnect With a Mentor Commented:
Like on Windows desktop wallpaper you mean?
Hmmm you can use CSS and set the BG to not tile but it will only be the size of your original image.
Perhaps you could use Javascript to size the image to be the available height and available width of the clients resolution.
Could look ugly though.
Jason C. LevineNo oneCommented:
Hi AllHale,

QPR is right on both counts.  You cannot use CSS to stretch the image, but you can use it to not repeat the image.  You could use javascript to detect window size or screen resolution and set the image properties that way, but it is not reliable at all.
AllHaleAuthor Commented:
Thanks guys. Once again you come to my aid, and also reveal the limitations of the software. I'll do my best to make the pictures work.
Jason C. LevineNo oneCommented:
It's not a limitation of the software, it's a limitation in HTML/CSS protocols...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.