您的位置:首页 > Web前端 > CSS

css样式之_class和style总结

2014-08-13 11:31 148 查看
css样式使用1:
<html>
    <head>    
        <style type="text/css">

      .nar_reg_ww{ font-size: 14px; color: #fff; } 

        </style>
  </head>
  <body>
     <div class="nar_reg_ww">
         <b >自动投资设置已锁定</b>
     </div>
   </body>
</html>

css样式使用2:

<html>
<link href="../common/css/jinxin.css" rel="stylesheet" type="text/css" />

  <head>    
  </head>
  <body>
     <div class="nar_reg_ww">
         <b >自动投资设置已锁定</b>
     </div>
   </body>
</html>

打开文件:WebContent/webPage/common/css/common.css
.nar_reg_ww{ font-size: 14px; color: #fff; } 
.kuang { width:750px; padding-bottom:15px;}

style样式使用3:

<html>
  <head>    
  </head>
  <body>

  <div style="display:none;">

      <b style="padding-left:150px;font-size:14px;color:#ff6600;">自动投资设置已锁定</b>

  </div>

   </body>
</html>

css样式使用1:
<html>
    <head>    
        <style type="text/css">

      .nar_reg_ww{ font-size: 14px; color: #fff; } 

        </style>
  </head>
  <body>
     <div class="nar_reg_ww">
         <b >自动投资设置已锁定</b>
     </div>
   </body>
</html>

css样式使用2:

<html>
<link href="../common/css/jinxin.css" rel="stylesheet" type="text/css" />

  <head>    
  </head>
  <body>
     <div class="nar_reg_ww">
         <b >自动投资设置已锁定</b>
     </div>
   </body>
</html>

打开文件:WebContent/webPage/common/css/common.css
.nar_reg_ww{ font-size: 14px; color: #fff; } 
.kuang { width:750px; padding-bottom:15px;}

style样式使用3:

<html>
  <head>    
  </head>
  <body>

  <div style="display:none;">

      <b style="padding-left:150px;font-size:14px;color:#ff6600;">自动投资设置已锁定</b>

  </div>

   </body>
</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: