Hi Tom,
HTML you mentionned: "style="position: absolute; top: 10px; left: 10px;"
effectively position things in an absolute place, but "top: 10px; left: 10px"
is not the same place for a 1024x768 then a 1900x1200 screen.
That is why by default (when not mentioned) position is set to relative!
Today array of resolutions are too wide, we can't use "absolute" position
as we have to rely on a left aligned position. But if we use left alignment,
we can't go farther then 1024px at max, for small screen... and on a big
screen we're positioned on half width... as we use only half screen! ???
Better solution is always to be centered because "center" is a calculation
and on small or "huge" screens, center is allways... center! And unused
space is splited on both sides of the browser's screen... then less seen
as a lost space.
Then, the right way is to use the "russian doll" concept (small, smaller and
smallest dolls inside a bigger one). As you see in my templates, often you
have a "Div" inside a "Div", which is also inside an other "Div". These "Div"
sometimes seems empty or useless, but they define (or cut) space in the
way that we want:
1st Div - Cut screen space in "x" parts
2nd Div - Prepare space (alignment) for final Div
3rd Div - is the final container as small as possible to contain final object
Then, that way we divide screen space in big parts (1st), a smaller part (2nd)
is there to place roughly your final object and 3rd Div is intended to be the
final container to be as close to the object (clock) as possible; because often
that object contain its own position that we don't want to be bother by it!
Imagine a script contained in a <iframe....>...</iframe> that is "builded"
to be left positionned; a 100 x 100px left positionned clock has no effect
in a 100 x 100px div!
I know, it's not natural for us Guys, to play with (Russian) "Dolls" but it
is so easier to position things like that!!
Regards,
Jacques