RSS Feed for This PostCurrent Article

CSS Positioning?

Should I use tables or absolute/relative positioning to place elements on the page? The formally correct, modern, answer seems to be to not use tables unless you want to display tabular data.

Tables are messy to code and inflexible.

However, there are some serious practical limitations in using absolute and relative positioning. Positioning elements on a page can be a nightmare. Sometimes there seems no way you can place elements on the page and have them stay where you want. Even worse, you finally succeed and then find that a different browser interprets the positioning instructions in a subtly different way that renders your layout unusable. So, sometimes, you might just crack and use a table…

Technorati Tags:

Digg!
Tagged with:, ,

Trackback URL

Sorry, comments for this entry are closed at this time.