摘要: 初学DIV 对其中的class id 两者很难区别。--------------------------------------------------------------------------------class是设置标签的类,id是设置标签的标识,class属性用于指定元素属于何种样式的类。如样式表可以加入.content1 { color: red; background: #ff80c0 } 使用方法:class="content1"id属性用于定义一个元素的独特的样式。如一个CSS规则#content2 { font-size: larger } 使用方法 阅读全文
posted @ 2013-04-22 16:21 米奥乌 阅读(902) 评论(0) 推荐(0)