PDA
$threadinfo[title]
-


Eddy
February 24th, 2002, 03:12
Ok this is a basic and easy question, i dont have the solution for.

How do i center a page and its contents? like the pj64.net site, Im dreamweaver preferably

mesman00
February 24th, 2002, 03:33
dreamweaver! dont use dreamweaver, just learn good ole html.
anyways, the pj64 site is in frames, and the size of the frames on the outside are what allow everything else to be centered. for example, when the site is in 800*600 res then it apppears to take up the whole page. then, when you change the res to 1024*768 it appears that the all the content is centered and a little smaller, and there is a white border sorrounding it. if you increase the screen res., you will notice that this border increases as well, and the content seems to get even smaller. this is because the frames on the outside get bigger. the content frame/frames are defined to a certain height and width, so no matter what the screen resolution, they will always occupy the same amount of pixels. the frames on the outside (which cause the site to be centered) are defined as "*". this corresponds to the screen resolution, filling all the space on the screen that is not already taken up. this is why when you have a higher screen resolution the content looks smaller and the border looks bigger.
the same amount of pixels are still being used for the content,but as the res. increases the total amount of pixels on the screen becomes greater, and this causes the content to look smaller, although it is still occupying the same amount space.

now back to dreamweaver. well, i don't really know anything about it, so i coudln't tell ya how to do it with it. but, i'm sure i have confused you now, so maybe someone else might have a better way of explaining.

Eddy
February 24th, 2002, 03:34
hand coded html isnt needed as much now, since we have wysiwyg applications. It comes in handy from time to time though