Tim Van Der Hulst wrote:
> CSS based design, once you get over the "hump" of learning it isn't
> really any more difficult than table based design.
You've missed my point. Building web applications using CSS is really
slow, yes it's possible but it's not very efficient. Prototyping
screens becomes a PITA compared to more flexible grid based
approaches.
We use CSS design as an approach to UI because it is simply easier,
faster and more maintainable than table based design. Accessibility is
just a nice bonus.
For what its worth I still think some website layouts are quite
difficult to achieve with pure CSS. Take for example 3 column layout
with footer positioned at the bottom of the screen. Pretty much have
to absolutely position the footer using javascript due to the fact
that divs don't expand out unless absolutely positioned (except IE)
IIRC. I've seen a few hacks for this and also degradable js table
injection techniques etc. This could be avoided by using table
support in CSS3 but browser support for this is poor as you know.
CSS based design is the present best practice for html based UI. The
layout model is different so there are some things that are potentially
more difficult to replicate exactly as you would have done them in
tables. But then there's really no need to replicate exactly what you
were doing in tables anyway, there are plenty of alternatives.
Arguing that table based layouts are faster is like saying .CFM
templates with no custom tags, UDFs or CFCs is a faster way to develop
CF. They're both perfectly acceptable ways to code, but given the choice...
-- geoff
http://www.daemon.com.au/
--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]