Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use table in div tag

 
kavita vala
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

i have a tabpanel wich is developed using javascript and css.
and i use it in my jsp using <div> tag.

I have problem that if i write <table><tr> or <td> into div tag , the content of tab are go outside the tab.
So please help me. how can i write table,tr,td tag inside my div tag


thanks in advance
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably fix your HTML or CSS. Impossible to help; you've not told us very much.
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want, put your code here (using code tag please).

Why dont you still using DIV instead table? You may do like colmns by using divs...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tables are just fine for tabular data, and at leastbsome accessible browsers handle them differently than they handle divs.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic