473,549 Members | 2,781 Online
Bytes | Software Development & Data Engineering Community
+ 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 1677
On Apr 22, 6:13 pm, Mel <MelHer...@gmai l.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...@gmai l.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
10990
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 scroll/resize. Then the image "moves" on the screen but the animation doesn't. The net effect is that their relative positioning changes. I'd like...
13
3025
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 size in browser settings). When someone does that, the layers seem to overlap and the layer with a greater z value pops in front and the other layers...
1
4843
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 rows scroll. I cannot split the table because then the column width would not match.
3
2093
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 other such complex things. Here is the ridiculously simple markup I'm using: <body> <div id="footer">A Simple Footer Test</div> </body>
6
2659
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 the <div>, on the image. 3. A similar result in IE and FF... Here's some of the XHTML:
2
2478
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 page controls were all over the place. "Ironically, absolute positioning is relative. Yes, you read that right. An absolutely positioned element...
3
1969
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 for IE from a tutorial page (http://limpid.nl/lab/css/fixed/header-and-left-sidebar) to my site: http://www.refugio-thueringen.de/dev/dev.html....
2
16401
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 to overlap correctly. You can see it on this page: www.creativekaysjewelry.com The images overlap exactly how I wanted and in the right position
6
2901
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 src='photos/thumbs/ bigsmile.jpg'></a><a class='del' href='?p=gallery&del=2'>x</a></div> where 'thumb' is my container, and 'del' should be aligned...
0
7450
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7720
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7957
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6043
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1941
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 we have to send another system
1
1059
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.