Div or Table?

AFB

Lifer
Jan 10, 2004
10,718
3
0
I'm making a website with a layout similar to this

http://www.acm.cse.msu.edu/


It's a pretty popular layout, and I was wondering whether it is better to use Div's in CSS ot Tables in your opinion?

Pros, Cons?
 

jman19

Lifer
Nov 3, 2000
11,225
664
126
Originally posted by: amdfanboy
I'm making a website with a layout similar to this

http://www.acm.cse.msu.edu/


It's a pretty popular layout, and I was wondering whether it is better to use Div's in CSS ot Tables in your opinion?

Pros, Cons?

Tables are dying/dead... go with CSS when you can, IMO.
 

stndn

Golden Member
Mar 10, 2001
1,886
0
0
go with <div>'s..
it's easier to change the layout later if you want to, compared to if you use tables.
plus, <div>'s make you look cooler than <table>'s
,p

plus, it makes loading and rendering of pages a little bit faster
 

screw3d

Diamond Member
Nov 6, 2001
6,906
1
76
As others said, <div>'s would be ideal. But I promise you that it's going to be a big PITA to implement it :)
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Originally posted by: stndn
and to keep with the spirit of <div> vs <table>, read up tables vs css -)

Interesting link, I plan on reading some of these later.


Here's a good one:
I'm not against CSS, but I'm not against tables either. My beef is the fact a CSS fanboy will literally sh!t his pants and get upset when he sees a site with tables as if the Web site itself managed to magically grow a large penis and rape the sh!t out of his mother.
 

stndn

Golden Member
Mar 10, 2001
1,886
0
0
btw, amdfanboy, it looks like you're mixing the <div>'s and <table>'s, with <table>'s used for layout, huh? ,)
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: stndn
btw, amdfanboy, it looks like you're mixing the <div>'s and <table>'s, with <table>'s used for layout, huh? ,)

I wanted the menu links to be auto spaced, so my option was tables. That is the only thing that uses them except the calendar on the other page.
 

randomlinh

Lifer
Oct 9, 1999
20,846
2
0
linh.wordpress.com
Originally posted by: amdfanboy
Originally posted by: stndn
btw, amdfanboy, it looks like you're mixing the <div>'s and <table>'s, with <table>'s used for layout, huh? ,)

I wanted the menu links to be auto spaced, so my option was tables. That is the only thing that uses them except the calendar on the other page.

you suck at the css then :p It's such a PITA to stick to "proper" coding techniques. all the positioning crap is what gets me usually