Firefox renders special character too small. I compared in Chrome and Firefox. You can check - http://jsfiddle.net/y23rwucp/
How can I do same size in all browsers using px
:
font-size: 14px;
Thank you
P.S. I'm testing on Mac.
Firefox renders special character too small. I compared in Chrome and Firefox. You can check - http://jsfiddle.net/y23rwucp/
How can I do same size in all browsers using px
:
font-size: 14px;
Thank you
P.S. I'm testing on Mac.
As the comments suggest, using dingbats (or any font not designed for this perpose) for this is not optimal. A proper replacement would be ×
:
span{
font-size: 14px;
font-weight: bold;
}
<span>×</span>
You could also make a class and use the before. You can use this as simply
<span class="Times"></span>
or put text in the span (required a tad more css)
.Times:before {
content:"\00d7";
font-weight: bold;
}
This might be worthy to add: Font Awesome does the same thing I just did with the :before
, only they have a lot of icons. If you need various icons in your site, you might want to check this out.