Le 18 sept. 2014 à 22:28, Tom Livingston <tom...@gmail.com> a écrit :

> Can you add the image as base64 in the content: "": rule?

How would that help in making the image a link?

As far as I understand, the OP has this markup:
<div>foo bar baz and more text</div>
And want to add an image which is at the same time a link (link wraps around 
image, link does NOT exist in the markup).

You can't do that with CSS. You can add a URL as text node in the ::after, but 
it won't be clickable. You can add the image. But nothing will be an HTML link, 
as long as the link does not exist in the markup.

You can do it with javascript, though: prepend() or append(). But that is OT 
for this list.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to