Jump to content

<div> or <table>


brown2005

Recommended Posts

Depends. Layout should be done in <div>

tabular data should be done in tables :)

<div> load faster than <table> do. Or thats my experience.  Though <div>s need more tricks to employ to get them to look the same across different browsers.

Its why I used tables for so long.  I didnt really have to worry about them not working properly in other browsers.  Now that I am using <div> its a bit more work, but the pages look nicer, are easier to manage and load faster :)
Link to comment
https://forums.phpfreaks.com/topic/17647-or/#findComment-75237
Share on other sites

My site uses simple 2 column CSS layout

www.tingram.ca

Should be able to see the source code to see how the floats are done. I dont use the css sheet much because I was playing with the div tags individually.

This site: http://css.maxdesign.com.au/floatutorial/  I've used a few times to help me figure out layouts and such.

As for tables using <div> I can't remember where I saw an example of it.  I'm sure google can find something about it though.
Link to comment
https://forums.phpfreaks.com/topic/17647-or/#findComment-75243
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.