positioning a watermark on a web page regardless of screen size

  • Thread starter Thread starter Cindy H
  • Start date Start date
C

Cindy H

Hi

I'm would like to use a watermark for a background on my web pages.
I used the style builder in Visual Studio.Net to add this as a background.
It inserted the code in the <body>
The problem is on smaller screens this watermark moves up behind the menu
instead of being centered on the page.
Does anyone know how I can overcome this problem?

Thanks,
CindyH
 
Cindy H said:
Hi

I'm would like to use a watermark for a background on my web pages.
I used the style builder in Visual Studio.Net to add this as a background.
It inserted the code in the <body>
The problem is on smaller screens this watermark moves up behind the menu
instead of being centered on the page.
Does anyone know how I can overcome this problem?

Not a Visual Basic question. Wrong group. Regardless...

What probably got inserted into the <body> tag was something along the line
of:

background="somepath/someimage.jpg"

The default HTML behavior is for the background to scroll with the page.
Adding this to the <body> tag:

bgproperties="fixed"

will "freeze" the background.

You might want to check out the HTML and CSS documentation at:

http://www.w3.org

They are THE authoritative site.
 
Back
Top