侧边栏链接不可用,无法选择



我对基本的HTML/CSS非常满意,但是我真的被我正在研究的Tumblr主题中的问题所困扰。我的侧栏中的文字无法选择,链接不起作用。我已经读到有关遇到问题的人,他们将跨度标签的div放置,或者是由于位置:绝对,但我认为这两个都是问题。您可以在此处查看非常未完成的网站。

编辑:包括相关代码

<header id="masthead">
<div id="header">
    {block:IfMastheadPortrait}
    <img src="{PortraitURL-128}"/>
    {/block:IfMastheadPortrait}
    <div id="big"><a href="http://chelseaborg.com" title="{lang:Home}">{Title}</a></div>
    <div id="goto"><a href="http://chelseaborg.com/about">About</a> // 
    <a href="http://chelseaborg.com/submit">Contact</a></div>
    {block:Description}
    <p>{Description}</p>
    {block:Description}
</div>
<!--Navigation-->
<nav>
    <div id="linx"> 
   <span style="background-color: #007A5E"><a href="http://chelseaborg.com/tagged/design">Design</a></span>
<br />
    <span style="background-color: #007A5E"><a href="http://chelseaborg.com/tagged/drawing">Drawing & Painting</a></span>
<br />
<span style="background-color: #007A5E"><a href="http://chelseaborg.com/tagged/photo"> Photography</a></span>
<br />
<span style="background-color: #007A5E"><a href="http://chelseaborg.com/tagged/mix">Mixed Media</a></span>
</div>
    <br />
</nav>
</header>

和CSS

#big {
color: {color:Masthead links};
font-size: 40px;
font-family: 'Codystar', sans-serif;
text-align: center;
}
#masthead {
background: {color:Masthead background} url('{image:Masthead}');
opacity: 0.7;
padding: 2%;
color: {color:Masthead text};
font-size:10.5px;
width: 180px;
height: 100%;
position: fixed;
float:left;
xmargin: {text:Post margin};

}
#masthead a {
color: {color:Masthead links};
}
nav li {
display: inline;
}
#linx {
text-align:center;
font-size:15px;
line-height:1.5;
font-family: {font:body} ;
color: #007A5E;
}
#linx a {
color:#000;
}
#goto {
text-align:center;
line-height:3;
}
#goto a {
color:#00A37D;
}

给侧边栏A z-index,因此它位于#content的顶部:

#masthead {      
  z-index: 1;
}

只是一个头,xmargin不是一回事。:D

最新更新