--
Thanks
geo...@bluelinemarketing.com
>I am building a web site that will be database driven.
I take this as referring to intentions of including some forms which
can be used for database queries (and perhaps updates, too).
>As you might guess I
>am building forms for a few of my web pages.
Bingo!
>In one of my "select" tags I have a huge list of "option" Tags that seem to
>disturb my web design.
I'd say that your design disturbs the usefulness of the page if you
have a huge list of OPTION elements. See
http://www.hut.fi/u/jkorpela/forms/choices.html
>if I put in the huge "option" list the whole page design goes warped.
>Why ?
Basically because a SELECT element with a huge list of OPTION elements
is, at least as implemented on popular browsers, very inconvenient to
use. A set of checkboxes or radio buttons would give you much more
flexibility. You could organize them under useful headings, perhaps
put them into a table, etc.
>I have looked at a few sites in the "source view" for examples and there
>seems to be a use of the "tbody" tag. Will this tag help? What does it do?
It won't help. It's definition is available at the usual place, see
http://www.w3.org/TR/REC-html40/
and more readably, but less authoritatively, at
http://www.htmlhelp.org/reference/html40/
but as the latter will tell you, few browsers (if any?) support it.
Moreover, you cannot put OPTION elements within a table except by
putting the entire SELECT element within a table cell. So it won't
help.
What _might_ be of help in structuring a large SELECT element is the
OPTGROUP element, see
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.6
but as far as I know, no browser tries to support it at present. And
it would hardly help for _huge_ lists anyway.
> Or is there a secret I should know about when I nest tables within tables?
I don't see how nested tables relate to this, but there certainly is a
public secret about nested tables, see
http://www.hut.fi/u/jkorpela/HTML3.2/4.9.html#nestedtables
--
Yucca, http://www.hut.fi/u/jkorpela/ | http://yucca.hut.fi/