By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,739 Members | 1,059 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,739 IT Pros & Developers. It's quick & easy.

how to properly hide/show table cells?

P: n/a
hi,
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?

Thanks.
Jan 31 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Scripsit Ben C:
You need to post a URL
And to choose the right group. This group is about HTML, not styles or
scripting.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Feb 1 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.