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>
<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>
相关文章推荐
- .css()与.addClass()设置样式的区别
- js随笔,css和js禁止网页选择文本,table的class样式使得td的class样式失效,jquery获得元素坐标
- js随笔,css和js禁止网页选择文本,table的class样式使得td的class样式失效,jquery获得元素坐标
- jQuery源码分析-13 CSS操作-CSS-类样式-addClass+removeClass+toggleClass+hasClass
- [html&css]Pass Through - 48.CSS 多个class处理样式覆盖
- Jquery中.css()与.addClass()两种方法设置样式的区别
- jQuery源码分析系列:CSS-class样式
- Css中为对象应用样式的三种方法:id,class,style
- jquery的样式操作Css Class(addClass,removeClass,toggleClass)
- Jquery获取css中id和class样式的动作-#id和.class
- CSS 同时具备两个class的样式
- jQuery源码分析-13 CSS操作-CSS-类样式-addClass+removeClass+toggleClass+hasClass
- [原创] jQuery源码分析-13 CSS操作-CSS-类样式-addClass+removeClass+toggleClass+hasClass
- DedeCms 给html标签加上自己的class样式(css)
- css基础 交集选择器 为指定标记中的指定的class添加样式
- CSS 页面刷新添加和移除 class 样式
- css中用#id.class的形式定义样式,为什么这样用,不直接写成.class.代码如下:#skin_0.selected{}这种的
- 【转】jQuery源码分析-13 CSS操作-CSS-类样式-addClass+removeClass+toggleClass+hasClass
- CSS之DIV布局样式class
- css基础 交集选择器 为指定标记中的指定的class添加样式