473,484 Members | 1,687 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Absolute Positioning Question and Scrolling Window

Mel
I place items at absolute locations on my LONG window.
When I scroll the window My Absolute is only relative to the Viewing
Area and tends to move up as i scroll my window.

Is this the normal behaviour ?

I need to have my item fixed to the bottom right hand corner no matter
what is happening to the window, including scrolling.

How can I do this ?

thanks in advance

Apr 22 '07 #1
2 1674
On Apr 22, 6:13 pm, Mel <MelHer...@gmail.comwrote:
I place items at absolute locations on my LONG window.
When I scroll the window My Absolute is only relative to the Viewing
Area and tends to move up as i scroll my window.

Is this the normal behaviour ?

I need to have my item fixed to the bottom right hand corner no matter
what is happening to the window, including scrolling.

How can I do this ?

thanks in advance
Try using fixed rather than absolute.
http://dyumnin.com/webapps/howto/web...vascript.shtml
Regards
Prince
--
http://dyumnin.com

Apr 22 '07 #2
On Apr 22, 7:22 am, pri...@dyumnin.com wrote:
On Apr 22, 6:13 pm, Mel <MelHer...@gmail.comwrote:
I place items at absolute locations on my LONG window.
When I scroll the window My Absolute is only relative to the Viewing
Area and tends to move up as i scroll my window.
Is this the normal behaviour ?
I need to have my item fixed to the bottom right hand corner no matter
what is happening to the window, including scrolling.
How can I do this ?
thanks in advance

Try using fixed rather than absolute.http://dyumnin.com/webapps/howto/web...ents_javascrip...
Which is not implemented in IE6. Search Dean Edwards blog for some
JavaScript to simulate fixed positioning in IE6. I don't know how hack-
like it is.

http://dean.edwards.name/IE7/compatibility/fixed.html

Peter

Apr 22 '07 #3

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

Similar topics

4
10977
by: Ken Kast | last post by:
Here's my situation. I have a statically positioned table that has an image in a cell. I also have some layers, defined by absolute-positioned DIVs for some animation. Everything works until I...
13
3019
by: murali | last post by:
Hello everyone, I used absolute positioning with div tag in my website. The page looks cool as long as someone doesn't try to zoom in by increasing the text size (ctrl++ or thru changing font...
1
4837
by: Jörg Ellermann | last post by:
Hi, I have a long table with flexible column width. Now want to make the first row (containing column titles) sticky by absolute CSS positioning so that it remains visible while the following...
3
2082
by: Jonah Bishop | last post by:
I have a strange problem that I'm hoping someone can help me with. I want a footer at the bottom of my simple HTML page to span the entire width of the page. I'm not using floats, columns or any...
6
2649
by: Gustaf Liljegren | last post by:
Here's what I'm trying to achieve: 1. A <div>, centered on screen, 600px wide and 100px high, with a background-image (also 600 x 100). 2. Text (an <h1> element) positioned with precision inside...
2
2466
by: Rob R. Ainscough | last post by:
I'm slowly (very slowly) working my way thru the bizarre and sadistic world of control positioning in MultiViews (ASP 2.0). I came across this to help me explain (or attempt to anyway) why my web...
3
1965
by: Axel Siebenwirth | last post by:
Hi, I would really love to get some help from you since I am starting to become completely desperate with something quite simple... I am trying to transfer a fixed-positioning-implementation...
2
16393
by: nino9stars | last post by:
Hello, I have just started messing with absolute positioning on webpages, and it definitely let's you do some creative things. Well, after much searching and help, I got the images I was using...
6
2891
by: Mark | last post by:
hi, i'm trying to position something in the top right corner of a container, but i can't seem to figure out how to get it working. here's the html <div class='thumb'><a href='image.jpg'><img...
0
6949
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7103
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
7137
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
6809
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
7194
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4527
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3044
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
1355
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 ...
1
587
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.