Laksh
06-27-2005, 08:49 PM
hi, i was wondering if someone could tell me how to put the whole webpage right in the center of a monitor of any size
Basically, everyone has a different size monitor. Thus, if one is a 20" monitor, a webpage that doesnt occupy the whole screen will obviously have more blank space in the bottom than top if it in not centered exactly.
So, what i want to know is how to make the webpage always in the center, so that there is equal space above the stuff on the page and below all the stuff on the page. This way, when people with different size monitors view it, the whole page will be in the exact center, without much more blank space in the bottom than top (ofcourse, i have the right and left centering taken care of)
If you are still not sure, please ask me more questions, I would really like to understand how to do this.
Note: I know that if you just simply center something, it will only be centered as in left to right, but how do you center the top and bottom parts too, to actually center the WHOLE PAGE, not just from left to right? I want this to happen automaticaaly on any size monitor.
And ummmm ... is adding CSS to HTML the same as when you add javasript anywhere in HTML code? im sorta new to the this stuff ya'll ....
any workable ideas will be appreciated from anyone :) :)
Thanx a lot ... :confused: :confused: :confused:
Basically, everyone has a different size monitor. Thus, if one is a 20" monitor, a webpage that doesnt occupy the whole screen will obviously have more blank space in the bottom than top if it in not centered exactly.
So, what i want to know is how to make the webpage always in the center, so that there is equal space above the stuff on the page and below all the stuff on the page. This way, when people with different size monitors view it, the whole page will be in the exact center, without much more blank space in the bottom than top (ofcourse, i have the right and left centering taken care of)
If you are still not sure, please ask me more questions, I would really like to understand how to do this.
Note: I know that if you just simply center something, it will only be centered as in left to right, but how do you center the top and bottom parts too, to actually center the WHOLE PAGE, not just from left to right? I want this to happen automaticaaly on any size monitor.
And ummmm ... is adding CSS to HTML the same as when you add javasript anywhere in HTML code? im sorta new to the this stuff ya'll ....
any workable ideas will be appreciated from anyone :) :)
Thanx a lot ... :confused: :confused: :confused: