Inserting a picture

M

Mark Atkin-Barrett

I'm trying to insert a background picture, but everytime i do it, it tiles
the picture all over the page...how do i stop this?

Thanks

Mark
 
J

JDR

Mark,

By default images that are used for backgrounds will tile.

The best way to control this is with css. Insert the script between your Heading Tags. ( <Head> -----------</Head> )

<style type="text/css">
<!--
body {background-image: url(folder/filename.jpg); background-repeat: no-repeat}
-->
</style>

Replace the "folder" with your folder name and replace the "filename.jpg with your file name

This will stop the image from tiling, but my gut hunch is, it will not have the desired effect you are looking for.

For more detailed information on controlling images with CSS, you can review this page: http://www.elated.com/tutorials/authoring/css/backgrounds/
 

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