Unhandled Perception
From the mind of a developer.

Tuesday, October 18, 2005

Center a page with CSS and NO tables

Just a quick example of how to use CSS to center a webpage without the need for tables.

Now, wasn't that easy...

Labels: ,

3 Comments:

  • I've yet to take the time to learn CSS due to persistent interruptions. Many praise it, some even go so far as to show its limitations next to HTML.

    By Blogger zridling, at 5:51 PM EST  

  • What limitations?

    The presentation layered should be developed in CSS.

    CSS reduces the size of the page, makes it easy to change site style (www.csszengarden.com is proof of that), separates data from presentation, can be cached on the clients machine with an external stylesheet to increase loading time, and much more...

    The hard part I have is breaking totally free from tables for layouts.

    By Blogger Veign, at 6:22 PM EST  

  • Thanks so much. Worked perfectly.

    By Blogger Dennis Keller, at 6:17 PM EST  

Post a Comment

Links to this post:

Create a Link

<< Home