Thursday, August 29, 2013

Generate Sort Icons using HTML Unicode Characters

We usually create images to display sort icons ( Up/Down ) in Grid. But it increases page weight while downloading from server. To avoid this some web developers use Webdings and Windings fonts.But this fonts are not W3C standard compliance.
So, the  best way to display sort icons using UniCode Characters.These will support in all browsers

HTML Code : 

<div>
Sorting Icons : <br/>
UP   - &#9650; <br/>
Down - &#9660;
</div>


No comments:

Post a Comment