I want the user to be able to open the color dialog box to set 'ForeColor' and 'BackgroundColor'. So I use this:
<span class="insertPicLabel">ForeColor</span>
<input type="color" id="fontColorButton" title="Change Font Color">
<span class="insertPicLabel">Highlight</span>
<input type="color" id="highlightButton" title="Highlight text Color">
Which works fine but doesn't look nice. I wish to use a button with an icon instead. I tried to set an background image but the color bar always shows over it.
What can I do? Is there another method I could use to open the color dialog box like a regular button as with VB?