• 0

absolute page centering


Question

:blink: simple question.. how do u format your webpages to have absolute centering??? the height settings are set to take up 100% of the window and the content on teh page is centered. what i'm talking about is exactly how www.zdnet.com has their site formatted (as well as www.bravenet.com). i preferably want my solution in css or html

thanks

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Tables and Frames are different.

Most sites use tables these days. Download the zdnet page and change one of the table tags to include BORDER=1 and you'll see how the page is built up.

Most will look like this.

<TABLE WIDTH=600 BORDER=0 CELLPADDING=0 CELLSPACING=0 ALIGN=CENTER>

<TR><TD>

Rest of your site

</TD></TR>

</TABLE>

Try to avoid using percentage widths, or your pretty design web site will go to pot.

Frames suck full stop, would not recommend them.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.