[英]changing button tag border color
I have put an image in border-less button
tag. 我已将图像放在无边框
button
标签中。 When the button is selected with Tab , a brown border appears around the image. 用Tab选择按钮时,图像周围会出现棕色边框。 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 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
我可以使用
style=outline-color:white
更改突出显示颜色
HTML 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 这是我的初始页面加载图像,如果我按Tab键 ,将得到一个类似于所示的突出显示
How do I increase the rectangle width. 如何增加矩形的宽度。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.