Quote:
Originally Posted by Jellby
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.