Skip to content

Instantly share code, notes, and snippets.

@k-maru
Created January 9, 2014 12:17
Show Gist options
  • Save k-maru/8333231 to your computer and use it in GitHub Desktop.
Save k-maru/8333231 to your computer and use it in GitHub Desktop.
reset css for html4
html {
font-size: 75%;
}
body {
font-family: sans-serif; /**/
overflow: hidden;
-moz-user-select: -moz-none;
-ms-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
}
html, body {
width: 100%;
height : 100%;
}
html, body, div, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, input, select, option, textarea, button {
margin:0;
padding:0;
border: 0;
outline: 0;
vertical-align: baseline;
background: transparent;
color: #444444; /**/
}
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: normal; vertical-align: top;}
td {font-weight: normal; vertical-align: top;}
li {
list-style: none;
}
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment