<div class="tree-control">
<form>
<div class="input-append" style="margin-right: 10px;">
<input class="tree-search" type="text">
<button title="search" class="btn tree-search-btn" type="button"/>
</div>
<a href="">link</a>
some text
<a href="">link</a>
</form>
</div>
Can I hide some text without adding any tags to html?
I'm trying do smth like that:
div.tree-control form {
display:none;
}
div.tree-control form > div:first-of-type {
display:block;
}
but it will hide all form. How can I hide just text?