469,324 Members | 1,425 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,324 developers. It's quick & easy.

positioning a watermark on a web page regardless of screen size

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
Jul 25 '06 #1
1 1286

"Cindy H" <no*****@nowhere.comwrote in message
news:Oy**************@TK2MSFTNGP04.phx.gbl...
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 <bodytag 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 <bodytag:

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.
Jul 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

179 posts views Thread by SoloCDM | last post: by
4 posts views Thread by Jane Withnolastname | last post: by
4 posts views Thread by CJM | last post: by
2 posts views Thread by Rob R. Ainscough | last post: by
3 posts views Thread by kraftyhunter | last post: by
9 posts views Thread by Chuck Anderson | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.