How to float a DIV top right corner of browser?

M

Michael

Hi,

I'm building some AJAX Web page. I want to display a floating DIV in the top
right corner of the browser window (e.g. a message saying "Loading...").
Kind of like Gmal does. That floating DIV has to take into consideration
that the user might have scrolled down the Web page. Also, it would be nice
if the floating DIV stays visible while the user scroll the Web page. Some
help will be much appreciated.

I'm targeting IE6+ and Firefox.

Thanks.
 
R

RobG

Michael said:
Hi,

I'm building some AJAX Web page. I want to display a floating DIV in the top
right corner of the browser window (e.g. a message saying "Loading...").
Kind of like Gmal does. That floating DIV has to take into consideration
that the user might have scrolled down the Web page. Also, it would be nice
if the floating DIV stays visible while the user scroll the Web page. Some
help will be much appreciated.

Use CSS:

<URL:http://www.w3.org/TR/CSS21/visuren.html#propdef-position>


But not all browsers fully support CSS 2.

There is an IE workaround described here:
<URL:http://groups.google.co.uk/group/co...d5f5?q=position+fixed&rnum=2#6362e82ff0a1d5f5>

Discuss in ciwas:

news:comp.infosystems.www.authoring.stylesheets
<URL:http://groups.google.co.uk/group/comp.infosystems.www.authoring.stylesheets?lnk=lr>
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top