0

我正在处理以下页面:http: //jlecologia.com/index.php

我希望左侧的整个块都是可点击的。在 Firefox 中它很好,但在 IE6 中光标甚至不会变成一只手。有任何想法吗?

4

1 回答 1

2

我建议您将块样式(就像您对 LI 所做的那样)移动到实际链接本身。例如(从您的样式表中复制)...

#left ul li {
    float: left;
    list-style-type: none;
}

#left ul li a {
    width: 100%; /* You might not need this */
    margin-top: 40px;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px; 
    color: #FFFFFF;
    display: block;
    background-image: url(../images/button-fond.png);
    background-repeat: repeat;
    background-position: 0px 0px;
    text-decoration: none;
}
于 2009-06-11T13:46:26.793 回答