Author Topic: div vs table  (Read 3911 times)

ygfperson

  • Founders
  • Posts: 601
  • Karma: +10/-1
    • Last.fm
div vs table
« on: November 15, 2005, 12:38:40 AM »
What's the best option for putting a sidebar or a title on a page? (see title of thread)

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14310
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
div vs table
« Reply #1 on: November 15, 2005, 12:32:53 PM »
div.  Do you wanna be more specific?

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
div vs table
« Reply #2 on: November 15, 2005, 03:55:02 PM »
I'm a big advocate for not using tables to layout.  That said:

Getting divs (especially nested divs) to format correctly across many browsers can be a royal pain.  Some browsers (such as IE) do not use certain CSS properties very well or at all.  This can make it very hard to get the exact same layout.

ygfperson

  • Founders
  • Posts: 601
  • Karma: +10/-1
    • Last.fm
div vs table
« Reply #3 on: November 19, 2005, 03:22:24 PM »
why are div's better than tables if there are various incompatabilities?

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14310
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
div vs table
« Reply #4 on: November 19, 2005, 05:45:49 PM »
Because you can do so much more with CSS and divs than you can with tables and CSS.  Layouts can be completely changed at the drop of a hat with divs, where with tables you have to physically move the rows and columns.

Major_Small

  • Jackass IV
  • Posts: 317
  • Karma: +10/-0
    • http://www.johnshaoonline.com
div vs table
« Reply #5 on: November 20, 2005, 01:55:52 AM »
I vote for div's as well.  While div's can be tricky to get working across browsers, tables are just very icky.  I put them right below frames when I think of how websites should not be layed out.

tables are great for what they are: [small] tables.  don't make your entire site design a table though.  While it may be easy, it's ugly.  and yucky.
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
51 Members so far, are YOU a member?
Current team score: 827850 (ranked 357 of 41389)

The CBoard team is doing better than [COLOR='#0000FF']99.13%[/COLOR] of the other teams
Top 5 Members: Xterria(331048), Bennet(64957), pianorain(56621), Codeplug(35842), JaWiB(34917)

Last Updated on: Mon, 28 Nov, 2005 @ 3:21 PM EST