Quantcast
Viewing all articles
Browse latest Browse all 3527

CSS Bug in IE9 - calc() function not working properly with percentages for the font-size property

Hello,

Can you please assist me with this problem?

When specifying a percentage within the CSS calc() function, IE9 does not calculate and display the correct font size. Please see the code below

<body>

<style>

p {
font-size: calc(100%);
}

</style>

<p>some text over here</p>

</body>

Outcome: The paragraph text appears perfectly in Firefox and Chrome. However, in IE9, the text is barely visible on the page.

Can you please suggest a solution/ fix for this?

Much appreciated,

Thanks

Vik


Viewing all articles
Browse latest Browse all 3527

Trending Articles