Quote:
Originally Posted by Jellby
I don't think <br> can have any content at all, it's an empty tag, like <hr>. And I believe it's not a block-level element, it has to be contained into a paragraph, div, or something else (it's maybe fine for you if you have a div around everything, but not for me).
|
Well, you're right, it is contained in a
div. But, technically it's not containing anything, is it? It's the pseudo-element
:after that's containing the content, with the
content attribute.
Or am I completely off-base here?
m a r
EDIT: yeah, Jellby, looks like you're right. I tried it with an image tag, too, and it doesn't work, but the header tags take it just fine. Guess you can apply the pseudo-element only to containers that hold content already. Bummer. I was hoping to keep it simple...