My background picture is repeating. How can I stop it?

R

Ronx

Use CSS:

<head>
<title>page title</title>
<style type=text/"css">
body {background: blue url(images/background.jpg) repeat: no-repeat center
;}
</style>
</head>

The above is the <head> section of the page in Code View. There should be
other <meta ... >tags as well as the above.
The CSS in the <style..> block sets a blue background to the page, and sets
an image (images/background.jpg) in the center of the page as a background.
The image will not repeat.
Change the colour to suit the image.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 

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