5
mam to:negując własność css jednej klasy z innej
<div class="style1 neg">
<input type="submit" value="blah" />
</div>
A css:
.style1 {
float: left;
margin-top: 25px;
}
.style1 .neg {
margin-top: 0;
}
staram się negować margin-top, ale kiedy sprawdzić element w przeglądarce styl "neg" wydaje się być całkowicie ignorowany. Jak mam to zrobić właściwie?