Quote:
|
From what someone else was saying to me,i think absolute is maybe not an ideal choice,because of the differences in screen resolution to users
|
I think here you are confusing absolute positioning with absolute dimentions.
The dimentions are the settings like width, height, top, left, font-size, indent, padding, margin and so on.
There are basically two forms of dimentions you can use in web design. Relative and absolute. Now they are the same words as used for position, but the mean different things here.
Absolute dimentions would be in units like px or pt. These are fixed. The element dimetioned in these units will be the same size on any screen and any curcumstance.
Relative dimentions are usings like % or ems. Using % sizes, the elements can change size depending on the parent elements size and/or the screen size.
In the code above, I use absolue px dimentions for almost all my units except for notable the #force-vert-scroll div. On this div I absolutly positioned it using relative units. By using top:100% I ensured that whatever size of screen you have, the page will be forced to scroll cause the div is set to start exactly one screen width down the page (thus is just off the page.)
Last edited by Rincewind; 12-08-2004 at 05:01 PM..
|