Jump to content

Emulating Layout Tables Using CSS


Guest si536
 Share

Recommended Posts

Greetings all. Interested in what experienced coders' opinions are on the best method to emulate a layout table with CSS. I've come across three different approaches: using the 'display' attribute, using 'float: left' and 'float: right' to create a three column layout, and using absolute positioning. Using positioning seems by far the best approach to me, but a number of sources seem to advocate the other two.Any thoughts would be welcomed - giving a site of mine an overhaul, and determined to put a bit of thought into it.Cheers, Si.

Link to comment
Share on other sites

Positioning is great for lots of reason, mainly because it is easy, but you will spend the time you saved and then some trying to get ti to look the same in all browsers because each browser seems to add different margins to the page and other annoying things like that.If you are going to use positioning I would aim to have it look hte same in IE and firefox...that si about 95% of all browsers anyway!If you can do that you are doing well.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...