0

I have some span like this :

<span class="example">12345678</span>
<span class="example">123456</span>

But I want my number to be displayed like this :
12345678 -> 12 345 678
123456 -> 123 456

Is it possible in CSS or only in JS/jQuery ?

mplungjan
  • 169,008
  • 28
  • 173
  • 236
drizo
  • 55
  • 4

1 Answers1

0

No, it is not possible. You will have to use JS/jQuery.

Tyler Day
  • 1,690
  • 12
  • 12
  • @mplungjan Well, I don't think so. – Ram Mar 23 '15 at 15:54
  • Because I don't have to _vote_. And I didn't say this answer is good or not! I meant to say not every answer should provide code. – Ram Mar 23 '15 at 15:57
  • The answer is correct, as illustrated by the duplicate @mplungjan provided. If you don't want to accept it, that is up to you. However, I don't see why you wouldn't. – Tyler Day Mar 23 '15 at 18:15