Forum Moderators: phranque

Message Too Old, No Replies

Centralising a webpage

...in the vertical plane

         

ellealla

11:33 am on Sep 26, 2005 (gmt 0)

10+ Year Member



Hi everyone,

I have a website which fits well in both 800x600 and 1024x768.

However, the 1024x768 version does not sit centrally in the vertical plane i.e. it is towards the top of the page instead of being in the middle.

How do I centralise my webpage vertically?

JKMitchell

12:58 pm on Sep 26, 2005 (gmt 0)

10+ Year Member



You could put it into a 100% x 100% table 1 row x 1 column and set the table cell to align="center" valign="middle"

HTH

ellealla

2:32 pm on Sep 26, 2005 (gmt 0)

10+ Year Member



Worked like a charm.

Thanks JK