×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

大家帮我看看这个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;
      • 豁然开朗,多谢。