I have such situation (problem visible only in Mozilla Firefox):
<span style="text-decoration: underline;">
SomeText
<span style="font-size: 50pt">Bigger</span>
SomeText
</span>
<br/>
<span style="font-size: 50pt;">
<span style="text-decoration: underline">Bigger</span>
</span>
as you can see the underline under "Bigger" word in first line is thinner than the underline in second line. I want to do something like that: (but I don't want to change HTML, only CSS)
<span style="text-decoration: underline;">SomeText</span>
<span style="text-decoration: underline;font-size: 50pt;">Bigger</span>
<span style="text-decoration: underline;">SomeText</span>
I have tried to do that using text-decoration: inherit
:
<span style="text-decoration: underline;">
SomeText
<span style="font-size: 50pt;text-decoration: inherit;">Bigger</span>
SomeText
</span>
but now I have got two underlines... So how can I do that? Thanks for help.
PS. I am using Mozilla Firefox