码迷,mamicode.com
首页 > Web开发 > 详细

css 浏览器兼容 重置代码

时间:2014-09-09 17:33:19      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:style   http   color   io   ar   for   art   div   sp   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>居家养老弹出</title>
<style type="text/css">
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {padding: 0;margin: 0;} 
table {border-collapse: collapse;border-spacing: 0;} 
fieldset,img,abbr,acronym{border: 0;} 
address,caption,cite,code,dfn,em,th,var {font-weight: normal;font-style: normal;} 
ol,ul {list-style: none;} 
caption,th {text-align: left;} 
h1,h2,h3,h4,h5,h6 {font-weight: normal;font-size: 100%;} 
q:before,q:after {content:"";}
body{background:#fff;font-size:12px;font-family:Arial,"宋体"; color:#333;}
textarea {outline: none; resize: none; overflow:auto;}
img{vertical-align:middle;}
:focus{outline:0;}
.fix,.wrap1000{*zoom: 1;}
.fix:after,.wrap1000:after{content: "";visibility: hidden;display: block;height: 0;clear: both;}
a{color:#333; text-decoration:none;}a:hover{ text-decoration:underline;}
a img {border: none;text-decoration: none;}
label, button,a {cursor: pointer;}
p{word-wrap:break-word;}

css 浏览器兼容 重置代码

标签:style   http   color   io   ar   for   art   div   sp   

原文地址:http://www.cnblogs.com/dygfc/p/3962722.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!