﻿@charset "utf-8";
/*取消内外边距使其在所有浏览器中保持一致*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,fieldset,input,textarea,p,th,td,button,article,aside,details,
figure,figcaption,footer,header,section,menu,nav,hgroup,legend,blockquote,hr {
  margin: 0;
  padding: 0;
}

header,section,article,footer,nav,menu,hgroup,details,figure,figcaption,aside {
  display: block;
}

audio,canvas,video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
audio:not(controls){
  display: none;
}
/*表单元素不继承父级font*/
input,button,textarea,select,optgroup,option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}


ul,ol {
  list-style: none;
}

/*让标题自定义*/
h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
  font-weight: normal;
}

/*边框设置*/
fieldset,img,button {
  border: 0;
}
button {
  cursor: pointer;
}

/*外边框设置 firefox则需要使用私有属性-moz-focus-inner*/
:focus {
  outline: 0;
}
input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
}

/*table设置  创建的时候仍需要cellspacing=“0”*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
}
