View Single Post
Old 07-18-2009, 01:13 AM   #18
rogue_ronin
Banned
rogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-books
 
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
Quote:
Originally Posted by Jellby View Post
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...

Last edited by rogue_ronin; 07-18-2009 at 01:17 AM. Reason: tried something...
rogue_ronin is offline   Reply With Quote