Need to hide text behind a <br>
..
Here is what is there in the HTML & CSS: JsFiddle of the issue
Yes, the <br>
tag does not have anything in and does not hold content
Need to hide text behind a <br>
..
Here is what is there in the HTML & CSS: JsFiddle of the issue
Yes, the <br>
tag does not have anything in and does not hold content
You can use jQuery to grab the node at runtime and wrap it in a hidden span. http://jsfiddle.net/XrPuU/2
Not extremely flexible or dynamic, but if you can't control the output to begin with your options are pretty limited.
Why not just wrap with a div and make a class that has the visibility: hidden attribute?
.noshow { visibility: hidden;}
<div class="noshow">Some text to hide</div>
try with :after pseudo selector http://www.w3schools.com/cssref/sel_after.asp
` tag cannot contain any content. It's a simple break and that's all. – j08691 Aug 06 '12 at 18:32
` should be `
` as it is an opening and closing tag all in one, therefore as someone else mentioned it cannot contain anything. – Jon Taylor Aug 06 '12 at 18:33
tags. I don't see where it's possible with straight CSS. – Tony Aug 06 '12 at 18:40