View Full Version : The values of 'position:absolute'
Hello.
Usually, 'position:absolute'takes absolute values like this : { position:absolute left:800px top:200px }
But with the smaller window, it cause the 'out of sight'.
So I wanna use relative values instead of absolute values.
Is there some ways to do it?
Thanks. :)
The same:
position: absolute;
left: 20%;
top: 20%;
To Twey :
Sorry, that's not what I want.
I want a box that fixed in same position in the window.
For example :
There is a box 'A' which has 600px width and located on center of Web Browser Window.
There is an another box 'B' which has 100px width and located on beside of 'A' when the Web Browser Window is full-size.
Apply the absolute values or percentage values on 'B' and let the window be smaller, 'B' is not located on beside of 'A' anymore.
What I want is locate 'B' on beside of 'A' in any size of the window.
Thank you anyway. :)
Sorry, I don't understand you :-\ If you type the question in your native language I or djr33 may be able to get a better understanding of what you want, presuming you speak a Romance or Germanic language or Japanese.
jscheuer1
12-13-2007, 07:09 PM
You probably don't want absolute positioning then, floats or default (static) positioning might be better, or if absolute positioning is used, it should be inside a relative positioned container of fixed dimensions, which would set the boundaries for the absolute content.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.