View Single Post
01-23-2007, 02:52 AM
#39
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

Originally Posted by jjmac
Because proper coding is about semantics, not a tableless "status".

A paragraph should have a p tag, an address should have the address tag, a list should use the list tag and tabular data should use a table.

Using div's to render tabular data is semantically as bad as laying out an entire page using a table.
I know Josh, I use tables for tabular data myself, I was just provoking some discussion on the matter

As for the use of hacks, if they have to be changed in the future, for sites to work in newer browsers, then don't use them. I use very minimal hacks, and only for older versions of IE (5.5, 5.01 etc). I do this by using alternative styesheets that are only called up by IE. I don't put them in with my other generic stylesheets. It might only be for little things like padding, fixing the box model in areas etc. One of the best ways to avoid the need for hacks is to use minimal images and be slightly relaxed in requiring pixel perfect layouts.