我的边框没有显示在我的图像周围,我不太确定问题可能是什么。我只需要照片周围的黑色边框。我的网站是http://www.welovetile.com。我无法弄清楚问题可能是什么。谢谢。CSS边框不显示在浏览器
CSS:
#kitchen {
height:250px;
width:346px;
background-image:url(images/kitchenbg.jpg);
}
#kitchen img
{
top: 50%;
left: 50%;
width: 316px;
height: 228px;
margin-top:11px;
margin-left:15px;
border-color:#000000;
border-width:thin;
}
HTML:
<div id="kitchen">
<img src="images/kitchen.jpg" alt="Kitchen Tile Job"/>
</div>
您好爱德华。如果可能,你能接受下面最能帮助你的答案吗?这样做可以帮助找到你的问题的其他用户。 –