Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

Created Issue: line-through in CSS renders incorrectly [8651]

$
0
0
When using a CSS class containing text-

I see that this works from the Demo app:
<span style="text-decoration: line-through">Font style</span>

but in my case I must use CSS to define the start and stop of the line-through area.
Here's my CSS:
.strikePrice {
text-decoration: line-through;
}

Here's the HTML:
<div class="productPrice strikePrice">Price: {Price}</div>

When rendered in IE, it looks like this:
![Image](http://example.com/logo.jpg)

When rendered in Html Renderer, it looks like this:

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>