Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why my Table isn't shown ?

Status
Not open for further replies.

Targol

Technical User
Sep 13, 2002
908
FR
I posted this under the VBScript forum as my DHTML script is in VB but I'm almost sure that the problem does'nt come from VB. So if you're not allergic to VB, please give an eye to this thread : thread329-398881 Water is not bad as long as it stays out human body ;-)
 
I found what was wrong so I write it here for your information : The problem was that when dynamically creating a table, you must do it this order :
1 -> Create TABLE element
2 -> Create TBODY element and append it to Table
3 -> Create TR element(s) and append it(them) to TBODY
4 -> Create TD element(s) and append it(them) to TR

I just forgot to create TBODY that's why my table didn't display.

Hope this will help some as TBODY tag is very often forgotten in tables.
Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top