I need to remove the
after the value of given spans.
The HTML looks like this:
<span class="number">0.15 </span>
The is coming from the server (CMS).
Is there any way to remove the by using CSS rules?
If this value is provided by your CMS, it's posible you can modify the value with php via str_replace(' ', '', $yourVar)
before echo it in your span.
If you can't access with this, you can also use jQuery to do this... Just like Muhammad Ali said:
var str = $('.number').html();
str = str.replace(' ', '');
$('.number').html(str);
Something like this could work. But with CSS, isn't posible I guess.