View Single Post
Old 07-18-2009, 09:36 PM   #20
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'd say the pseudo-element :after still includes content inside the main element inside. If you use it for a styled element (like a header), does the :after content use the same style (font, color, etc.)? If it does, it confirms that it is still inside the element, although after the explicit content.
It does, which makes sense (after I've thought about it.) It's pseudo after all.

What is strange is that a couple of the examples I looked at suggested that content can be added after items like images -- but if you can't add text, what can you add?

I was hoping to add display of an attribute (title) after an image, using the content:attr(title) construction, but no go.

m a r

ps: my first shot at a CSS is nearly done. It required minor tweaking of the html, so I'll include both when it's ready. Hope some folks will take a look at it.
rogue_ronin is offline   Reply With Quote