467,163 Members | 971 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,163 developers. It's quick & easy.

how to properly hide/show table cells?

i have a table with rows, 2 columsn in a row. I need to hide and show
certain cells at a time, i'm able to do this via javascript, setting
each cell i want hidden with:
TableCellArray[i].style.display = "none";

where TableCellArray is the array of cells i have in my table. All
that works fine, but I keep getting spacing issues, it looksl like the
cell after it's set to none still occupies space, anyway to get rid of
that extra space? Each cell contains a div, i've also set that div to
style.display = "none"; but still no good. any ideas?

Jan 31 '08 #1
  • viewed: 2786
1 Reply
Scripsit Ben C:
You need to post a URL
And to choose the right group. This group is about HTML, not styles or

Jukka K. Korpela ("Yucca")

Feb 1 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Jerad Rose | last post: by
7 posts views Thread by I am Sam | last post: by
2 posts views Thread by Řyvind Isaksen | last post: by
3 posts views Thread by evanburen@gmail.com | last post: by
6 posts views Thread by Ian Collins | last post: by
3 posts views Thread by =?Utf-8?B?Um9iZXJ0IENoYXBtYW4=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.