|
-
Mar 8th, 2002, 09:40 AM
#1
Thread Starter
Hyperactive Member
Hiding cells
I want to be able to hidden some rows/columns within a table, till a certain option is choosen from a dropdown menu.
I've tried enclosing the <tr></tr> tags with <div> tags but this doesn't work.
Any one got an idea of a way to do this?
Thanks in advance for any help provided.
VB 6 Enterprise Edition SP4
ADO, SQL 7/2000, ASP and some JavaScript

>> Life goes on, but for how long? <<
If you can smile when things go wrong, you have someone in mind to blame
-
Mar 8th, 2002, 10:23 AM
#2
although I haven't tried it out, try using classes.
tr.hidethis {visibility :hidden;}
....
<TR id = "hidethis">...........</tr>
-
Mar 8th, 2002, 10:24 AM
#3
or was that stupid of me? damn.
-
Mar 8th, 2002, 10:24 AM
#4
Thread Starter
Hyperactive Member
I've tried that one thanks, it still leave a gap in the table where the cells are hiding
Thanks in advance for any help provided.
VB 6 Enterprise Edition SP4
ADO, SQL 7/2000, ASP and some JavaScript

>> Life goes on, but for how long? <<
If you can smile when things go wrong, you have someone in mind to blame
-
Mar 8th, 2002, 12:45 PM
#5
Black Cat
Try "display: none;" as well. There's also a border-collapse, but I can't remember what that one does.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|