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>

      

  • 相关阅读:
    Pycharm(一)下载安装
    Django(一)创建和启动项目
    windows10自动登陆
    Tushare安装
    笑话
    python异常处理
    XPath与Xquery
    XML相关概念
    JDK、JRE、JVM三者间的关系
    CMS
  • 原文地址:https://www.cnblogs.com/dreamhome/p/2115608.html
Copyright © 2011-2022 走看看