这是来自css的一些代码
#linkheader/*Links bar for access to other parts of the website*/
{
width:900px;
border-radius:25px;
margin:20px 50px 0px 0px;
padding:5px;
border:1px dotted orange;
text-align:center;
float:right;
color:orange;
background-color:rgba(20,10,10,0.7);
}
.sourcelinkheader
{
width:1000px;
}
#content /*Material Container for Sources and Index*/
{
width:1000px;
margin:10px auto;
border:2px solid orange;
background-color:rgba(20,10,10,0.7);
}
html正文
<body>
<div id="header">
<h1>Information and Image Sources</h1>
</div>
<div id="linkheader" class="sourcelinkheader">
<p>
<p><a href="index.html">Index</a> -
<a href="Verkhluti_1.html">Introduction</a> -
<a href="Verkhluti_1_katana.html">Nihontō</a> -
<a href="Verkhluti_1_zweihander.html">Great Sword</a> -
<a href="Verkhluti_1_gladius.html">Gladius</a> -
<a href="Verkhluti_1_european swords.html">European</a> -
<a href="Verkhluti_1_fencing.html">Fencing</a> -
<a href="Verkhluti_1_source.html">Sources</a>
</p>
</div>
<div id= "content">
<a href="http://en.wikipedia.org/wiki/Sword"><img src=http://upload.wikimedia.org/wikipedia/commons/thumb/b/bb/Wikipedia_wordmark.svg/174px-Wikipedia_wordmark.svg.png alt="Wikipedia"></a>
<p><a href="http://www.weedhopper.org/">Metal Bakgrunnstextíll</a></p>
</div>
<div class= "footer">
</div>
</body>
我想要的结果是链接头的宽度变为 1000px,我希望它位于“内容”之上而不是它内部。
我做错了什么?