bluestrobe
Platinum Member
I am in the process of cleaning my website's code up. In the css file I have this code:
However this doesn't work and I have to have individual code like this to control margins.
Is there a reason the top code doesn't work? Sorry for the noob CSS question.
body,h1,h2,h3.h4,h5; {
margin:2%;
padding:0px;
}
However this doesn't work and I have to have individual code like this to control margins.
h4 {
margin:2%;
padding:0px;
}
h5 {
margin:2%;
padding:0px;
}
p {
margin:2%;
padding:0px;
}
Is there a reason the top code doesn't work? Sorry for the noob CSS question.