CSS Reset
В редакторе
CSS Reset
Brain_Script
779
2019-07-12 12:08:48
//От Vovan-Ve
html{margin:0;padding:0;border:0;}
body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,nav,section{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article,aside,details,figcaption,figure,dialog,footer,header,hgroup,menu,nav,section{display:block;}
body{line-height:normal;}
table{border-collapse:collapse;border-spacing:0;}
caption,th,td{text-align:left;font-weight:normal;}
table,td,th{vertical-align:middle;}
blockquote:before,blockquote:after,q:before,q:after{content:"";}
blockquote,q{quotes:"" "";}
a img{border:none;}
:focus{outline:0;}
//От Shustry
/*-----reset-----*/
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td {margin: 0; padding: 0; border: 0; outline: 0; vertical-align: baseline; background: transparent; font-size: 100%; font-weight:normal;}
a {margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent;}
table {border-collapse: collapse; border-spacing: 0;}
td, td img {vertical-align: top;}
li {margin:0; padding:0; list-style:none;}
input, select, button, textarea {margin: 0; font-size: 100%;}
input[type="text"], input[type="password"], textarea {padding: 0;}
input[type="checkbox"] {vertical-align: bottom;}
input[type="radio"] {vertical-align: text-bottom;}
sub {vertical-align: sub; font-size: smaller;}
sup {vertical-align: super; font-size: smaller;}
/*-----base-----*/
html {overflow-y: scroll;}
body {line-height: 1; background: #fff; color: #333; text-align: left; font: 13px Verdana, "Geneva CY", "DejaVu Sans", sans-serif;}
input, select, button, textarea {font-family: Verdana, "Geneva CY", "DejaVu Sans", sans-serif;}
label, input[type="button"], input[type="submit"], button {cursor: pointer;}
a, a:visited {color: #039; text-decoration: none; outline:none;}
a:hover {color: #36c; text-decoration: underline;}
a:focus, a:active {color: #039; text-decoration: underline;}
/*-----clear-----*/
.clear, .clr {clear:both; content:""; display:block; height:0; font-size:0; visibility:hidden;}
.none {display:none;}
em, i {font-style:italic;}
strong, b {font-weight:bold; color:inherit;}
/*-----Opera Fix-----*/
body:before {content:""; height:100%; float:left; width:0; margin-top:-10000px;}
/*-----FF Fix-----*/
::-moz-focus-inner {border: 0;padding:0; margin:0;}
//От Эрика Мэйера
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
}
blockquote, q {
quotes: "" "";
}
//Сброс от yahoo
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
/*outline сама добавляла*/
fieldset,img,input,textarea {
border:0;
outline: none;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:normal;
}
ol,ul {
list-style:none;
}
caption,th {
text-align:left;
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:normal;
}
q:before,q:after {
content:'';
}
abbr,acronym { border:0;
}
//Сброс от Kyle Neath
*
{
padding:0;
margin:0;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0; }
li, dd { margin-left:5%; }
fieldset { padding: .5em; }
select option{ padding:0 5px; }
.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
a img{ border:none; }
Войдите для добавления комментария.