A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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?
Java Scrip not working in Safari.
creating tables with DOM / IE
how to convert table content from html source code into a database
Adding a row to a HTML table on-the-fly
hiding exceeded data in h:dataTable columns
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014