[thelist] CSS Form layout w/out span|div

Tom Dell'Aringa pixelmech at yahoo.com
Thu Feb 20 11:56:02 CST 2003


--- RUST Randal <RRust at COVANSYS.com> wrote:
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> My version [1], is 100% accessible, AFAIK. If the styles are
> included via @import, then you will not have any issues with
> NN 4.x. Kudos to Mark Newhouse for helping with some Mac IE issues.
>
> http://www.r2communications.com/cssTests/formCSS.html
>
> Mark also has a CSS form [2], but it doesn't use the <label>
> element.
>
> http://www.realworldstyle.com/forms.html
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This has been a subject of discussion over at Maccaws[1] as well.
Historically, if you had any type of form that was anything more than
a simple one column, you are stuck with table rows. I'm not so sure
this is a horrible thing.

FWIW, You can see yet another similar version here:

http://www.sparklesparties.com/contact.php

Where no DIVs are used (Thanks to Dunstan for the code). This one
doesn't use fieldsets, which I think can sometimes get in the way,
and you don't need them on simple forms. Note of course, the rest of
my page does use tables.

I posed the question of whether or not it is possible to do difficult
forms with lots of rows and columns with pure CSS and/or no tables.
I've come to the conclusion its impossible to do - but I'd like to
see someone prove me wrong!

Tom

[1] www.maccaws.org

=====
>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
http://www.pixelmech.com/
var me = tom.pixelmech.webDeveloper();

http://www.maccaws.com/
[Making A Commercial Case for Adopting Web Standards]

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the thelist mailing list