473,468 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to float a DIV top right corner of browser?

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.
Feb 20 '06 #1
1 8020
Michael wrote:
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/comp.infosystems.www.authoring.stylesheets/browse_frm/thread/a9478e9cfda4fc44/6362e82ff0a1d5f5?q=position+fixed&rnum=2#6362e82ff 0a1d5f5>

Discuss in ciwas:

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

--
Rob
Feb 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: mercurius_1 | last post by:
I want to put text for a copyright notice into the bottom right corner of my page. When I say "bottom right," I mean that it will float there regardless of how the browser window is resized. I...
9
by: leegold | last post by:
Why does float:right cause a line break? Try the code below. Is there a fix? I want the link on the same line as the text. Thanks <html> <head> <STYLE> span.linkpos { float:right; clear:...
1
by: Dan V. | last post by:
Does anyone know why the header looks correct in IE 6.0 and not Firefox 1.07? I am trying to have a header that looks good when you expand it wider and smaller. In other words when you shrink...
2
by: J Rice | last post by:
Hi, I'm trying to work out how to float a <divbox in the lower right corner of a paragraph. I have no trouble getting it to work in the upper right or upper left corners and having the text wrap...
22
by: ashkaan57 | last post by:
Hi, I am trying to put text on left and right side of the page and used: <div> <span>blah blah</span> <span style="float:right">blah blah</span> </div> The 2nd text does go to the right but the...
4
by: Andre Majorel | last post by:
How do you align an <imgagainst the bottom-right corner of an enclosing block so that the text in the block flows around it ? <!-- Block begins here --> <p> En ce qui concerne la conjoncture...
2
by: JB | last post by:
Hi All, I'd like to display a "resize handle" in the bottom right corner of a form like in the windows explorer for instance (the 3 diagonal lines in the corner). Can anybody tell me how to do...
11
by: Simon van Beek | last post by:
Dear reader, By opening an application I get always the main Access window with the closing cross in the above right corner. Is there a possibility to make this closing cross invisible? ...
1
by: babashankar | last post by:
Hi, I have a simple html as below: <html> <body> <table><tr> <td style="background:#DD6D68" width="100" height="100"> <div>image name</div> <div style="vertical-align:bottom;float:right;">
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.