• λ我爱Aspx >> Asp.Net >> 这个效果不能直接用在<a>标签里?
  • 这个效果不能直接用在<a>标签里?

  • :aspxer  Դ:csdn  :2007-7-6 2:49:28  ؼ:
  • <html>

    google_ad_width = 250; google_ad_height = 250; google_ad_format = "250x250_as"; google_color_url = "000000";

    <head>

    <style type="text/css">

    <!--

    #c {

    background:url(2.gif) no-repeat top left;

    text-align:center;

    width: 135px;

    height: 25px;

    padding-bottom: 0px;

    margin-left: 355px;

    }

    #c a:hover {background:url(2.gif) no-repeat bottom left;

    text-align:center;

    width: 135px;

    height: 25px;

    padding-bottom: 0px;

    }

    -->

    </style>

    <title>test cover

    </title>

    </head>

    <body>

    <p id="c">

    <a href="#">hello</a>

    </p>

    </body>

    </html>

    =========

    2.gif是一个长135px,宽50px的图像

    他是这样形式的

    |----红---------|

    Ҷƪл˵?
  • һƪ背景颜色为何会扩展到其它区域?
    һƪ请教为什么大尺寸图片在firefox下没问题,在ie下显示不出来?