返回首页
当前位置: 首页>网页设计>Css样式>

实现虚线框的CSS代码

时间:2008-12-11 23:55来源:互联网 作者:不详 点击:
发个CSS的小东西~~呵呵,仅供参考哦~ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <h
  

发个CSS的小东西~~呵呵,仅供参考哦~

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  6. <title>CSS实现虚线框代码www.91php.com</title>
  7. <style type="text/css">
  8. * {
  9.     font-size:12px;
  10.     margin:0;
  11.     padding:0
  12. fieldset {
  13.     padding:10px;
  14.     margin:10px;
  15.     width:270px;
  16.     color:#333
  17.     border:#06c dashed 1px;
  18. legend {
  19.     color:#06c;
  20.     font-weight:800
  21.     background:#fff;
  22. ul {
  23.     list-style-typenone;
  24.     margin:8px 0 4px 0;
  25. li {
  26.     margin-top:4px;
  27. }
  28. </style>
  29. </head>
  30. <body>
  31. <fieldset> 
  32.   <legend>Flash动画www.91php.com</legend> 
  33.    <ul> 
  34.      <li>Flash人物动画</li> 
  35.      <li>Flash动物动画</li> 
  36.      <li>Flash植物动画</li> 
  37.      <li>Flash动漫动画</li> 
  38.    </ul> 
  39. </fieldset>
  40. </body>
  41. </html>
顶一下
(2)
100%
踩一下
(0)
0%
------分隔线----------------------------
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
Google
推荐内容