Reputation: 1
I am using an input tag to retrieve some user information. This user information is not required to be rendered by the browser so I have give it a class with 'display: none' applied.
IE6 and 7 are still rendering the space the input occupies but without rendering the content, the same way 'visibility: hidden' would work.
Are there any other ways to get IE6 and 7 to completely ignore the input?
Upvotes: 0
Views: 619
Reputation: 11
If input hidden values are inside table then they are rendered without TR
and TD
; so adding them inside TR
, TD
and setting tr { display: none }
has worked for me.
Upvotes: 1