How do I stop my watermark in FrontPage 2002 stop repeating

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am a novice user and every time I add a background/watermark to my web
pages, it repates (appears multiple times) on the web page. How can I make a
background stop repeating and only appear once on my whole web page. I hope
that makes sense. Thanks in advance for your help.
 
mmlana95 said:
I am a novice user and every time I add a background/watermark to my
web pages, it repates (appears multiple times) on the web page. How
can I make a background stop repeating and only appear once on my
whole web page. I hope that makes sense. Thanks in advance for your
help.

Did you add the background image to the body?

If so, this is the CSS you need
body {
background-color: #aaddaa;/* a light greeen */
background-image: url("images/display/04-08-24-1-bird-bath.jpg"); /* this
is mine - make it what you like */
background-repeat: no-repeat; /* image does not repeat */
background-attachment: fixed; /* image does not scroll */
}
It is a good idea to have a background-color as well as an image.

This CSS can be in an external file or in the <head> section.
If the former, name the file "style.css" and add this to the <head> section
<style type="text/css" src="style.css">

If the latter, place it between these tags:
<style type="text/css">

</style>

Use the HTML or Code view and paste the code into there
 
<style type="text/css" src="style.css">
should be
<link rel="stylesheet" type="text/css" href="style.css">
 
Back
Top