小编Kin*_*212的帖子

访问过的链接不会下划线

我访问的网络项目链接不会下划线,但是,其余访问的修改正在工作,并且下划线适用于悬停。我给我的老师看了这个,他很困惑,并说他会尽力找时间看一下,但是,截止日期已临近,我不能再等待了。这是我的布局页面中处理锚标记的部分:

a:link
{
    text-decoration: none;
    color: #d1bd22;
    font-size: 1.3em;
}

a:visited
{
    text-decoration: underline;
    color: white;
    font-size: 1.3em;
}

a:hover
{
    text-decoration: underline;
    color: #d1bd22;
    font-size: 1.3em;
}

a:active
{
text-decoration: none;
    color: white;
    font-size: 1.3em;
}
Run Code Online (Sandbox Code Playgroud)

这是我的网站的链接:

http://cis.luzerne.edu/~ds0002/morlansknownshop.html

html css anchor

2
推荐指数
1
解决办法
812
查看次数

h1标签小于h2,都是insde一个section标签

我的h1标签是insode的一个标签,比h2标签小.当在section标签外面时,h1标签的大小正确.我一直在浏览我的CSS页面,但没有发现会导致这种情况发生的事情.这是我的CSS页面:

body 
{
    font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
    background-color: #42413C;
    margin: 0;
    padding: 0;
    color: #000;
    background-image: url(images/mass_effect_1_citadel_dreamscene_by_droot1986-d5sw7hu.jpg);
}

a img 
{
    border: none;
}

.container 
{
    width: 960px;
    background-color: #192370;
    margin: 0 auto;
}

header 
{
    background-color: #050a2e;
}

.sidebar1 
{
    float: left;
    width: 175px;
    background-color: #2236d1;
    padding-bottom: 10px;
    border: solid thin black;
    text-align: center;
}

.content 
{
    padding: 10px 0;
    width: 780px;
    float: right;
    border: solid thin black;
}

footer 
{
    padding: 10px 0;
    background-color: #050a2e;
    position: …
Run Code Online (Sandbox Code Playgroud)

html css tags

1
推荐指数
1
解决办法
1247
查看次数

标签 统计

css ×2

html ×2

anchor ×1

tags ×1