zoukankan      html  css  js  c++  java
  • a 伪类及首字母下沉

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">
    a
    {
    display
    :block;
    height
    :30px;
    width
    :100px;
    line-height
    :30px;
    float
    :left;
    background
    :url(picture/014304_btn_bg_hover.gif);
    color
    : #d84700;
    }
    a:first-letter
    { font-family: "microsoft yahei"; font-size: 40px; float: left; padding-right: 10px; line-height: 1; }
    a:visited
    { color: #999; text-decoration: line-through; }

    a:active
    { color: #F0F; }
    a:link
    { color: #06F; text-decoration: none; }
    a:hover
    {
    color
    : #F00;
    text-decoration
    : underline;
    background
    :url(picture/014304_btn_bg.gif);
    }
    </style>
    </head>
    <body>
    <div id="menu">
    <p><a href="SADF.DS">这里是链接</a></p>
    <p><a href="#">这里也是链接</a></p>
    </div>
    </body>
    </html>

      

  • 相关阅读:
    2-反向调试
    1-断点调试
    gdb基础用法
    protobuf学习手册(上)
    1024 科学计数法 (20 分)
    1023 组个最小数 (20 分)
    1018 锤子剪刀布 (20 分)
    1015 德才论 (25 分)
    1020 月饼 (25 分)
    1019 数字黑洞 (20 分)
  • 原文地址:https://www.cnblogs.com/dreamhome/p/2115608.html
Copyright © 2011-2022 走看看