单击时的图片具有不需要的背景 [英] Picture when clicked has background I don't want
本文介绍了单击时的图片具有不需要的背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我单击页面上的图片时,得到了不需要的背景框.
可能是CSS问题,但是我不知道在哪里看.
我必须更改什么,在哪里更改?这是页面.
When I click a picture on my page, I get a background frame that I don't want.
Probably a css issue,but I have no clue where to look.
What do I have to change and where? This is the page.
推荐答案
您已在styles.css文件这一部分的所有表单元格中添加了填充:
You have padding added to all table cells in this part of your styles.css file:
table th,
table td {
text-align: left;
vertical-align: top;
padding: 4px 7px !important;
padding: 6px 10px;
}
这会影响Highslide图像周围的表格.
您可以通过将其添加到highslide.css文件中来对其进行修复:
This affects the table around the Highslide image.
You can fix it by adding this to your highslide.css file:
.highslide-container table td {
padding: 0 !important;
}
这篇关于单击时的图片具有不需要的背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文