我有一些非常简单的代码。该链接在一秒钟前有效,但现在不行!(已检查并清空缓存)。
这是我的网站:http ://claireisabelwebb.com/index.html 侧面的导航栏应该转到http://claireisabelwebb.com/experiments.html等。链接应该在悬停时变为斜体,并且颜色不同在他们访问之后。
这是CSS:
/* Link Styles***********************************************************************/
#home_link a:link{
font-family: 'Lato', sans-serif;
color: #330066;
text-decoration: none;
font-size: 115px;
font-weight: 100;
text-align: left;
letter-spacing: -28px;
}
#home_link a:visited{
font-family: 'Lato', sans-serif;
color: #330066;
text-decoration: none;
font-size: 150px;
font-weight: 100;
text-align: left;
letter-spacing: -28px;
}
#main_menu a:link{
font-family:'Lato', sans-serif;
font-size: 30px;
font-weight: 100;
color:#336699;
text-decoration: none;
text-align: left;
letter-spacing:0.2em;
}
#main_menu a:visited{
font-family: 'Lato', sans-serif;
font-size: 30px;
font-weight: 100;
color:#005522;
text-decoration: none;
text-align: left;
letter-spacing:0.2em;
}
#main_menu a:hover{
font-family:'Lato', sans-serif;
font-style: italic;
font-size: 30px;
font-weight: 100;
color:#CC0066;
text-decoration: none;
text-align: left;
letter-spacing:0.2em;
}
#sec_menu a:link{
font-family:'Lato', sans-serif;
font-weight: 100;
color:#CC0066;
text-decoration: none;
font-size: 16px;
text-align: left;
letter-spacing:0.2em;
}
#sec_menu a:visited{
font-family:'Lato', sans-serif;
font-weight: 100;
color:#005522;
text-decoration: none;
font-size: 16px;
text-align: left;
letter-spacing:0.2em;
}
#sec_menu a:hover{
font-family:'Lato', sans-serif;
font-style: italic;
font-size: 16px;
font-weight: 100;
color:#CC0066;
text-decoration: none;
text-align: left;
letter-spacing:0.2em;
}
和html:
<!-- Main Navigation Menu ______________________________________________-->
<div id="main_menu" class="main_wrapper_nav_box">
<div id="sec_menu">
<div class="main_page_nav_box">
<a href="Experiments.html">EXPERIMENTS</a>
</div>
<div class="main_page_nav_box">
<a href="writing.html">WRITING</a>
</div>
<div class="main_page_nav_box">
<a href="photography.html">PHOTOGRAPHY</a>
</div>
<div class="main_page_nav_box">
<a href="graphics.html">GRAPHICS</a>
</div>
<div class="main_page_nav_box">
<a href="artwork.html">ART WORK</a>
</div>
<div class="box_sec_nav_ms">
<a href="artwork.html">Modernist Summer</a>
</div>
<div class="box_sec_nav_r">
<a href="resume/Claire-Webb.pdf">Résumé</a>
</div>
</div>
</div>
先感谢您!