I have html where I only want to hide the text portion, but what complicates it is that it is not wrapped in anything. Below is an example:
<div class="content">
Give comfortable and durable place to work with a desk.
Lock the center drawer and all of the drawers lock,
keeping your files and supplies secure.
<table cellpadding="4" cellspacing="0">
<tbody>
<tr>
<th align="right">Available Options:</th>
<td>Desktop Color: Fusion Maple, Gray Nebula...</td>
</tr>
<tr>
<th align="right">Book Box Construction:</th>
<td>Not applicable</td>
</tr>
</tbody>
</table>
</div>
How can I hide the “Give comfortable and durable…” portion above without changing the html at all? I was hoping to do it via CSS and maybe Javascript if necessary. CSS only would be perfect though. Can anyone help?
Look ma’, no
handsscripts!CSS only solution
JSFiddle demo.