- HTML question
- Posted by Matt Dockerty on July 15th, 2003
Hi,
I am writing a server app which outputs XHTML forms. I am wondering whether
to structure the generated form in table tags, or alternatively, div tags
leaving the formatting to CSS.
i.e. Is a form built up of rows of label and input pairs semantically
'tabular data'? I can't decide.
Any opinions?
Cheers,
Matt
- Posted by Jim Dabell on July 15th, 2003
Matt Dockerty wrote:
Opinions differ. Plenty of people would say that it's suitable for a table,
and if you are doing the rest of the website well, you're doing far better
than average already. However, if you do decide to go with a <table>
element [1], be sure to take advantage of all the uncommon, but informative
attributes and elements associated with tables (e.g. scope), and forms
(e.g. <label>).
[1] See part 5: <URL:http://www.flightlab.com/~joe/sgml/faq-not.txt>
--
Jim Dabell
- Posted by Rick [Kitty5] on July 16th, 2003
Matt Dockerty wrote:
CSS is my poison of choice for forms
have a look at
http://www.kitty5.com/contact/default.asp
--
Rick
Kitty5 NewMedia http://Kitty5.com
POV-Ray News & Resources http://Povray.co.uk
TEL : +44 (01270) 501101 - ICQ : 15776037
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/loo...rch=0x231E1CEA
- Posted by Isofarro on July 20th, 2003
Andy Dingley wrote:
Ermm... *summary* attribute?
--
Iso.
FAQs: http://html-faq.com http://alt-html.org http://allmyfaqs.com/
Recommended Hosting: http://www.affordablehost.com/
Web Standards: http://www.webstandards.org/
- Posted by Andy Dingley on July 20th, 2003
On Sun, 20 Jul 2003 10:46:07 +0000, Isofarro
<spamblock@spamdetector.co.uk> wrote:
"summary" is an attribute ot <table>, but so is "title" (inherited
via coreattrs) The main point here applies equally to both of them -
if you can give a "purpose" for the table, it's reasonable to use it.
- Posted by Matt Dockerty on July 23rd, 2003
That's pretty cool. CSS certainly seems up to the job. I've just learnt the
:focus pseudo class existed too, thanks for that.
"Rick [Kitty5]" <rick@kitty5.com> wrote in message
news:bf36vj$af4ss$2@ID-83783.news.uni-berlin.de...


