View Full Version : center position main page


matzah
04-27-2003, 01:26 PM
I've noticed that some website have their page set in a table (I guess) that defaults to the right position when I open it in a minimized window.
Basically, even though my window is minimized, I get to see all the contents of the page and I don't have to scroll to see anything else.

Anyone know what I mean?
Thanks :)

MaGiCSuN
04-27-2003, 02:29 PM
I think they just have aligned the table to the right

like this align="right" added to the <table> code

when the window get's maximized the table will move to the right side

Love,
Mirna

matzah
04-27-2003, 04:14 PM
So how do you know what size to make the table so that it fits most browsers when their window is not fully maximized?

kittycat
04-27-2003, 05:08 PM
Just use percentages instead of absolute sizes :) So instead of width="100", use width="40%", for example. Then the table will/should automatically resize to fit within the browser window.