Stevio wrote:
> What is wrong with using a simple 1 row 2 column table to layout a web page
> when using DIVs and CSS requires hacks and JavaScript to work in the way
> required?
> 
> Why is using CSS in this case the better of two evils? Surely we are 
> abusing CSS in just the same way we are abusing tables?
> 
> Please remind me as I find myself wasting so much time with CSS 
> design hacks when table design is so much quicker. I have been doing 
> CSS and XHTML for a while too before you ask! I'm sure other people 
> constantly have to look about to find the right hack for the 
> particular problem they are facing.

Hi Stephen,

I know what you are saying but there are hacks and then there are hacks! 
Personally, I prefer to have clean, semantic mark-up and use Conditional 
Comments to achieve what I want in Win/IE - because I know when I do that, my 
mark-up remains structurally correct and it won't matter what future versions 
of Win/IE do or don't do. Hacks in the actual style-sheet I'm more wary of, 
because we don't know how future versions of the browsers will read them.

I code *much* faster using clean XHTML and CSS than with tables - but to each 
their own. Tables are still allowed for those that prefer them. Regardless, I 
feel that good structural mark-up is enough of an advantage over table-based 
layouts that I don't mind at all using the odd CC to make a div-based layout 
work in Win/IE.

Regarding Javascript - why do you see that as being a problem? There's nothing 
wrong with Javascript that I can see, as long as the site "degrades gracefully" 
without it.

But to each their own.  :-)

Vicki.  :-)

-- 
Vicki Berry
DistinctiveWeb
Web: http://www.distinctiveweb.com.au
Blog: http://www.unheardword.com
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to