html - Unicode different size arrows -
i have following code:
.testfont { font-size: 16px; }
<!doctype html> <html> <head> </head> <body> <div class="outter"> <div class="testfont">▴</div> <div class="testfont">▾</div> </div> </body> </html>
the unicode table below shows arrows used above should equivalent in size (from visual inspection):
why rendered differently? , how can equivalent arrow sizes?
update
tested on chrome , safari both render down arrow bigger?
output image
this because of lucida grande font, might default font on system :
to avoid it, define font use (better webfont you'd sure every 1 see same, don't know 1 support these glyphes).
.testfont { font-size:16px; /* tested on mac os, if lead me default win , *nix default fonts, i'd glad include */ font-family: 'arial unicode ms', 'consolas'; }
<div class="outter"> <div class="testfont">▴</div> <div class="testfont">▾</div> </div>
Comments
Post a Comment