2

i'm creating text with css :after. But I'm not able to select the resulting text (e.g. for copy&paste). is it possible to make it selectable?

<div>foo</div>

div:after{
    content: '   123';

}

sample

2
  • So you expect the result to be: <div>foo 123</div>? :) Commented May 31, 2013 at 7:45
  • exactly. And both, the letters and the numbers shall be selectable. Commented May 31, 2013 at 9:26

1 Answer 1

1

As far as I know, this has been a long-running issue that is still not resolved. This bug thread, which is still current, goes back to 1999!

https://bugzilla.mozilla.org/show_bug.cgi?id=12460

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.