Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

the tag tbody

0 views
Skip to first unread message

George

unread,
Feb 7, 1999, 3:00:00 AM2/7/99
to
I am building a web site that will be database driven. As you might guess I
am building forms for a few of my web pages.
In one of my "select" tags I have a huge list of "option" Tags that seem to
disturb my web design.
My question: a small list does not disturb my design with tables and the web
page design when viewed thru Ie 5 and Netscape is ok but
if I put in the huge "option" list the whole page design goes warped.
Why ?
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?
The help files in my Homesite HTML editor is of little help.
Or is there a secret I should know about when I nest tables within tables?

--
Thanks
geo...@bluelinemarketing.com

Jukka....@hut.fi

unread,
Feb 8, 1999, 3:00:00 AM2/8/99
to
On Sun, 7 Feb 1999 17:23:31 -0800, "George"
<geo...@bluelinemarketing.com> wrote:

>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/

0 new messages