×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

大家帮我看看这个css问题

本文发表在 rolia.net 枫下论坛bug description 如下:
There needs to be a unit after the number in each of these rules
.headerTopRight
a.headerTopRight:link
a.headerTopRight:visited
a.headerTopRight:active
a.headerTopRight:hover
etc.

Fix example:
em % px

}
a.headerTopRight:active {
height: 50px;
color: #000000;
font: bold 10px Verdana, Arial, serif, sans-serif;
text-align: right;
vertical-align: top;
text-decoration: underline;
}

css文件是这样的:
.headerTopRight {
height: 50;
color: #000000;
font: bold 10px Verdana, Arial, serif, sans-serif;
text-align: right;
vertical-align: top;
}
a.headerTopRight:link {
height: 50;
color: #000000;
font: bold 10px Verdana, Arial, serif, sans-serif;
text-align: right;
vertical-align: top;
text-decoration: underline;
}
a.headerTopRight:visited {
height: 50;
color: #000000;
font: bold 10px Verdana, Arial, serif, sans-serif;
text-align: right;
vertical-align: top;
text-decoration: underline;
}
a.headerTopRight:active {
height: 50;
color: #000000;
font: bold 10px Verdana, Arial, serif, sans-serif;
text-align: right;
vertical-align: top;
text-decoration: underline;
}
a.headerTopRight:hover {
height: 50;
color: #FF0000;
font: bold 10px Verdana, Arial, serif, sans-serif;
text-align: right;
vertical-align: top;
text-decoration: none;
}

实在对css不了解,无从下手。

谢谢。更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / 学科技术讨论 / 大家帮我看看这个css问题
    本文发表在 rolia.net 枫下论坛bug description 如下:
    There needs to be a unit after the number in each of these rules
    .headerTopRight
    a.headerTopRight:link
    a.headerTopRight:visited
    a.headerTopRight:active
    a.headerTopRight:hover
    etc.

    Fix example:
    em % px

    }
    a.headerTopRight:active {
    height: 50px;
    color: #000000;
    font: bold 10px Verdana, Arial, serif, sans-serif;
    text-align: right;
    vertical-align: top;
    text-decoration: underline;
    }

    css文件是这样的:
    .headerTopRight {
    height: 50;
    color: #000000;
    font: bold 10px Verdana, Arial, serif, sans-serif;
    text-align: right;
    vertical-align: top;
    }
    a.headerTopRight:link {
    height: 50;
    color: #000000;
    font: bold 10px Verdana, Arial, serif, sans-serif;
    text-align: right;
    vertical-align: top;
    text-decoration: underline;
    }
    a.headerTopRight:visited {
    height: 50;
    color: #000000;
    font: bold 10px Verdana, Arial, serif, sans-serif;
    text-align: right;
    vertical-align: top;
    text-decoration: underline;
    }
    a.headerTopRight:active {
    height: 50;
    color: #000000;
    font: bold 10px Verdana, Arial, serif, sans-serif;
    text-align: right;
    vertical-align: top;
    text-decoration: underline;
    }
    a.headerTopRight:hover {
    height: 50;
    color: #FF0000;
    font: bold 10px Verdana, Arial, serif, sans-serif;
    text-align: right;
    vertical-align: top;
    text-decoration: none;
    }

    实在对css不了解,无从下手。

    谢谢。更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • height: 50px;
      • 豁然开朗,多谢。