General discussion


Web Development

By swahmad ·
I am learing Web Development, so i have a question that is i want to insert a picture in a page as background, but if the size of the picture is short it appeares as tile shape,(repeated in full page) but i want to insert a picture as one image regardless of the size. i am using Frontpage2000 and Dreamwever. any tips.........
Thanx for ur help.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Comments

Collapse -

Web Development

by Raffi_ In reply to Web Development

There are a couple of ways to overcome this problem. The one I have used most often is to take the image and surround it with enough whitespace so that it never tiles. Not very speedy but perhaps the easiest to implement. Although it only has to load once it really pays to make sure that the image is as optimized (read "small") as is possible.

You did not mention if you want to maintain compatibility with older browsers and/or stick with plain HTML so here are a couple of other possibilities:

1. Use layers
2. There is a Javascript out there that will allow you to "float" the image in the background. I just can't find the script at the moment but write if this is a solution you are interested in.


Back to Software Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums