KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have to hide a td element in a tr which has 2 td s Here is the HTML code: <div class="ms-globalnavicon"> <table cellpadding="0" cellspacing="0" style="border:solid 0px red;"> <tr> <td align="left" valign="top" style="padding-right:10px;padding-top:5px;"> <a href="http://unet.unisys.com" target="_blank"> <img src="/_layouts/images/SiteIcon.png" alt="Unisys" /> </a> </td> <td align="left" valign="top" style="padding-top:9px;"> <a href="http://google.com">My Site</a> </td> </tr> </table> </div> In the above HTML code I need to hide the 2nd td element alone in CSS. I put the below CSS but it is hiding both the td s. .ms-globalnavicon table tr td { visibility: collapse; } <div class="ms-globalnavicon"> <table cellpadding="0" cellspacing="0" style="border:solid 0px red;"> <tr> <td align="left" valign="top" style="padding-right:10px;padding-top:5px;"> <a href="http://unet.unisys.com" target="_blank"> <img src="/_layouts/images/SiteIcon.png" alt="Unisys" /> </a> </td> <td align="left" valign="top" style="padding-top:9px;"> <a href="http://google.com">My Site</a> </td> &
Tags (comma-separated)
Save Edits
Cancel