html - 为什么照片周围有淡淡的边框?

标签 html css image

我正在向此页面添加内容:http://rouviere.com/index-new由于某种原因,顶部的插图照片周围有一个模糊的边框。

这是 html:

<div class="illustration">
    <img class="promo" src="http://www.rouviere.com/_photos/slides_photos.jpg" alt="we package it up" />
</div><!-- end #illustration -->

<div class="headline">
    <h2>Photos</h2>
<p id="sub-head">Show the magic of your world with fine photos</p>
</div>

这是 CSS:

p#sub-head  { font-size: 24px; margin: 0 0 10px 35px; color: #000; }
img.promo   { float: right; margin-right: 20px; z-index: 0;   } 

我尝试添加边框:无;到图像,但没有任何区别。

对于解决方案的任何指导,我将不胜感激。

谢谢。

最佳答案

边框在图像本身上。

enter image description here

关于html - 为什么照片周围有淡淡的边框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16215318/

相关文章:

html - Bootstrap Nav 标志问题

c++ - 模糊图像的非矩形区域,然后对整个图像进行下采样 - OpenCV

jquery - 获取隐藏图像的高度?

android - Android WebView 加载图片有什么好方法?

javascript - 如何根据下拉值更新div文本?

html - 缩放 CSS 过渡取消其他样式

javascript - 导航器.onLine

javascript - 如何使用 HTML 和 javascript 仅播放 youtube 视频中的音频

javascript - 抓取的网站未显示下拉菜单

html - 如何使用 CSS 制作蜂窝网格?