html - 网页图片 href - 小横线

标签 html css

出于某种原因,我在网站标题上放置的每张社交媒体图片的右下角都有一条细小的水平线。我试图找到有关它们出现的原因以及更重要的是如何隐藏它们的解释。有谁知道如何删除它们?非常感谢。

enter image description here

代码:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
<title> Chilun</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<style type="text/css">
@font-face /* support for browsers & IE v10 onwards*/
{font-family:homefont; src: url("font.ttf");}
{font-family:headerfont; src: url("playball.ttf");}
body {background:url('img/mybackground3.jpg') no-repeat center center fixed;}

<!-- Make Header Sticky -->
#header_container {background:#00E5EE; border:0px solid #666; height:70px; left:0; position:fixed; width:100%; top:0;}
#header{padding: 0.3em 0; border-bottom: 0px; overflow: hidden; zoom: 1; line-height:0px; margin:0 auto; width:940px; text-align:right;display:inline-block; float:right;vertical-align:bottom;}
#wrapper{width:900px;margin:0 auto;}
a{color:#444;}
.logo{margin-left:600px;margin-top:100px;background:#fff;padding:10px;}
.bigtitle{font-family: homefont; font-size:120px; text-align:center; margin-top:200px;}
.header{top:100%; left:50%; font-family: headerfont; font-size:20px; color:#FFFFFF; font-style:italic; padding-top:0px; padding-bottom:0px; padding-right:20px; padding-left:0px;}
</style>
</head>
<body>

<!-- BEGIN: Sticky Header -->
<div id="header_container">
    <div id="header"><p class="header"> Follow me on:

    <a href="https://www.facebook.com/chilunliuTheBOSSE"><img src="/img/facebook-lnk.gif" alt="View my Facebook Profile" width="40" height="40" border="0">
    <a href="https://plus.google.com/u/0/+chilunliu/posts/p/pub"><img src="/img/googleplus-lnk.gif" alt="View my Google Plus Profile" width="40" height="40" border="0">

     <a style="margin:0; href="http://www.linkedin.com/pub/chilun-liu/1b/297/416"; View my Linkedin Profile </a><img src="/img/linkedin-lnk.gif" width="40" height="40">
    <a style="margin:0; href=""; Email me </a><img src="/img/email-lnk.gif" width="40" height="40">
    <a style="margin:0; href="http://www.youtube.com/user/chilunliu"; View my Youtube Channel</a><img src="/img/youtube-lnk.gif" width="40" height="40">
    </div>
    </p>

</div>
<!-- END: Sticky Header -->

    <div id="wrapper">
      <h2 class="bigtitle">
      <p>
      Chilun
      Liu
      </p>
      </h2>
     </div>

</body>
</html>

最佳答案

您缺少所有 </a>结束标签...

关于html - 网页图片 href - 小横线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21477780/

相关文章:

javascript - 如果 child 有类(class),则选择 child 的 parent

javascript - 使用ajax javascript提交表单数据

css - 媒体查询删除 float : but does not set text width:auto on small screens

Chrome 和 IE 中的 CSS 图片悬停问题

css - 相对于自身大小缩放背景图像?

html - 浏览器无法正确显示阿拉伯字体

css - 是否需要将导航(ul 标签)包装在 div 或 nav 标签中?

javascript - Jquery 类名启动选择器在两种不同情况下不起作用

javascript - 效率 : JS Slider VS animated Gif

html - 使用 CSS 剪辑后,我可以移动图像以显示不同的部分吗?