Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Floating picture ?

Status
Not open for further replies.

Marat

Programmer
Sep 18, 2000
17
KZ
Hello all!
How can I insert a picture that will be on the same position (for example at the top-left corner) of the screen independently of vertical scrolling?
i.e. I have a small picture at top left corner of the page. When I scroll page down picture should also move down to be visible on top left corner.

Thanks in advance
Marat
tolgambaev@hotmail.com
[sig][/sig]
 
If the image you are talking about is a background image then you can use CSS to 'fix' the image in a certain position on the screen. Using the backgound-repeat and background-position options.

See
Hope this helps [sig][/sig]
 
Thanks tonybrindle!
Your message is really helpful!

Marat
tolgambaev@hotmail.com [sig][/sig]
 
I am new to HTML coding and am not sure what this "floating image" means.

I have seen a site that has text that scrolls down the page but the background image stays fixed in place. It looks like a sand-blasted glass with text on it sliding over the picture. Is this what a "floating image" is?

If not, would you give a clue as to what I saw on the site described above? Any help will be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top