嗨在我的网站website(密码:ebriff)我已经添加了小白色三角形作为图片到活动链接。但因为我有一张图片作为我的第一个菜单链接,所以不会添加到该图片中。我如何解决这个问题?将样式添加到活动链接?
CSS:
.top-menu li{
margin: 0;
float: left;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
color: #fff; /* text color */
font-size: 15px;
text-shadow: 0 1px 0 rgba(0,0,1,.5); /* drop shadow */
letter-spacing: 1px;
font-weight: 300;
}
li.top {
border-right: 1px solid #007472;
border-left: 1px solid #009C9A;
}
li.top:last-child {
border-right: none;
}
li.top:first-child {
width: 70px;
border-left: none;
background: url({{'home-icon.png'|asset_url}}) no-repeat 24px 25px;
text-indent: -9999px;
}
.current {
background: url({{'triangle.png'|asset_url}}) no-repeat center bottom}
}
这将是巨大的,如果你能告诉我们你的HTML了。 – Steve 2013-03-20 22:13:05
嗯......你确定在这个你不拥有或控制的公开网站中包含密码是安全的吗? – 2013-03-20 22:13:07
如果密码不敏感,并且稍后您将更改该密码,则该链接将会失效并且该问题将来无法使用。 – 2013-03-20 22:15:48