设置 | 登录 | 注册

作者共发了1篇帖子。

<html>

1楼 巨大八爪鱼 2010-10-5 22:48
<html>
 <head>
  <title>樣式繼承</title>
  <meta http-equiv="content-type" content="text/html;charset=gb2312">
  <style type="text/css">
  <!--
   p {color:red}
   td {color: blue ;border: 1 solid #333333;}
   .import {color:red}
  -->
  </style>
 </head>
 <body>
  <p>
   我的地址為:
   <span id="myAddress">北京市朝陽區11號</span>
   歡迎來我家做客。
  </p>
  <table>
    <tr>
      <td>
        樣式的一個最大的特徵就是有<span class="import">繼承性</span>!<br />
        但不是<span>所有的樣式</span>都能被繼承。
      </td>
    </tr>
  </table>
 </body>
</html>

内容转换:

回复帖子
内容:
用户名: 您目前是匿名发表。
验证码:
看不清?换一张
©2010-2025 Purasbar Ver3.0 [手机版] [桌面版]
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。