ааааа всё понял я короч давно написал что то типо обнулятеля для css вот его код:
*{
padding: 0;
margin: 0;
border:0;
}
*,*:before,*:after{
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}
nav,footer,header,aside{display:block;}
html,body{
height: 100%;
width: 100%;
font-size:100%;
line-height: 1;
font-size: 100%;
-ms-text-size-adjust:100%;
-moz-text-size-adjust:100%;
-webkit-text-size-adjust:100%;
}
input,button,textarea{font-family: inherit;}
input::-ms-clear{display :none;}
button{cursor:pointer;}
button::-moz-focus-inner {padding:0;border:0;}
a a:visibled{text-decoration: none}
a:hover{text-decoration: none}
ul li{list-style: none;}
img{vertical-align: top;}
так вот и после я просто вставлял его в фаил ,а css файл у меня всегда отдельно был а сейчас я не хотел заморачиватся и сделал всё в html документе через style
а туда обнулятель не вставил вот и не работало.