Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,046 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,508 people online right now. Registration is fast and FREE... Join Now!




Collapse TR in IE 7

 
Reply to this topicStart new topic

Collapse TR in IE 7, Is there a way?

supersssweety
24 Jul, 2008 - 01:15 PM
Post #1

D.I.C Regular
Group Icon

Joined: 16 Mar, 2007
Posts: 312


Dream Kudos: 125
My Contributions
I need to collapse a row in IE7

CODE

<tr style="visibility:collapse">

<tr style="visibility:hidden">


is not supported for IE7...is there a hack, is there anything I can do?
User is offlineProfile CardPM
+Quote Post

girasquid
RE: Collapse TR In IE 7
24 Jul, 2008 - 02:46 PM
Post #2

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,266



Thanked: 14 times
Dream Kudos: 650
My Contributions
If you're trying to collapse it, wouldn't setting display:none do the trick?

You may not be able to do that on the tr itself - in which case you should set up a class which inherits that attribute onto its child tds:
css

tr.hidden td{display:none}


This post has been edited by girasquid: 24 Jul, 2008 - 02:47 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 05:03PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month