Fixed position label

  • Thread starter Thread starter Sharon
  • Start date Start date
S

Sharon

Hi all.
I need to make a label that stays in a fixed position,
when the page is scrolled.
The javascript solution i have, is a bit jerky, and I'm looking for
something better.
Firefox is no problem, I'm looking for a solution for internet explorer.
Thanks,
Sharon.
 
Use the following css attributes:

position:absolute;
top: <distance from the top of the browser>
left: <distance from the left of the browser>

<div style="position:absolute;top:100px;left:100px">content</div>

Tasos
 

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

Back
Top