A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Can i put a table inside tbody of another table?
Joined: Aug 30, 2005
Jun 26, 2006 22:20:00
In my form ,i have a table with thead and tbody.Can i put one more tables inside tbody?
Roy Ivar Moe
Joined: Jun 22, 2006
Jun 27, 2006 01:58:00
Yes, however, you must put the second table in a cell beloning to the first table.
The following is valid HTML 4.01 Strict:
<table> <thead> <tr><th></th></tr> </thead> <tbody> <tr><td> <table> <thead> <tr><th></th></tr> </thead> <tbody> <tr><td></td></tr> </tbody> </table> </td></tr> </tbody> </table>
Hmmm... looks like a case for CSS ;-)
It is sorta covered in the
JavaRanch Style Guide
subject: Can i put a table inside tbody of another table?
Adding a row to a HTML table on-the-fly
creating tables with DOM / IE
Java Scrip not working in Safari.
hiding exceeded data in h:dataTable columns
how to convert table content from html source code into a database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015