I am working with a pre-constructed template, and the only editing capability I have is to place css elements within the main body. I am trying to hide a few <tr>'s that do not have a seperate <div> tag or anything. I'm pretty new to this... please help, if possible! thanks!
hide table row with no div in css
Collapse
X
-
If you are able to add inline CSS within the template itself, you can add this to the <tr>:
If not, you could try to isolate and use nested CSS tags. Something like:Code:<tr style="visibility:hidden;">
However, keep in mind that this would effectively hide ALL TRs. Look at the code and see if there is anyway to isolate the intended TR you wish to hide (perhaps they all have the same name (<tr name="TRodd">) and you can do:Code:table tr {visibility:hidden;}
I hope I didn't completely confuse you. Nesting is considered "advanced" CSS but is easy to understand once you see it in action. If you need more assistance, please don't hesitate to ask. We're always here to help!Code:table tr .TRodd {visibility:hidden;}
Comment