Reputation: 619
I have put an image in border-less button
tag. When the button is selected with Tab, a brown border appears around the image. How do I change color of that rectangle from brown to white. Is is possible to have a white rectangle with inner and outer shadow of blue.
HTML
<td align=center valign=middle>
<figure>
<button style="background-color:black; height:160px;width:160px ; border:none">
<img src="F:\rashmi\icons_tv\Help_Normal.png">
</button>
<figcaption><font size="5" color="white" style="font-weight:bold"><center>help</center></font>
</figcaption>
</figure>
</td>
EDIT:
I can change highlight color by using style=outline-color:white
HTML
<html>
<body>
<tr>
<td align=center valign=middle>
<figure>
<button style="background-color:black; height:160px;width:160px ; border:none;outline-color:white;">
<img src="F:\rashmi\icons_tv\Help_Normal.png">
</button>
<figcaption><font size="5" color="white" style="font-weight:bold"><center>help</center></font>
</figcaption>
</figure>
</td>
<td align=center valign=middle>
<figure>
<button style="background-color:black; height:160px;width:160px ; border:none;outline-color:white;">
<img src="F:\rashmi\icons_tv\Help_Normal.png">
</button>
<figcaption><font size="5" color="white" style="font-weight:bold"><center>help</center></font>
</figcaption>
</figure>
</td>
</tr>
</body>
</html>
Here is my initial page load image and if I press Tab I get a highlight similar to what is shown
How do I increase the rectangle width.
Upvotes: 2
Views: 37701
Reputation: 1
[custom_button text="Custom Button" title="Custom Button" url="http://www.your_link_goes_here..." size="medium" bg_color="#FF5C00" text_color="#FFFFFF" align="left" target="_self"]
Upvotes: -1