stretch a image for background instead of tile

B

billy bob

How can I stretch a large image for a web background
instead of it tiling. thanks
 
S

Stefan B Rusynko

Html background images can not be stretched
In an image editor add "white" space to your image so it won't tile



| How can I stretch a large image for a web background
| instead of it tiling. thanks
 
J

jon spivey

Hi,
impossible I'm afraid. However you can stop it tiling with some CSS - you'd
probably also want to centre it on the page
<style type="text/css">
body{
background-image url(image.gif);
background-repeat:no-repeat;
background-position:center;
}
</style>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top