I know there's another question like this but I tried it and the answer didn't work.
I have a p
with a div
and I want to be able to use a reverse (negative) margin on the p
. At the moment it's not effecting the p
but the containing div
.
Here's the code :
.reset {
margin-left:4px;
margin-top: 4px;
height:50px;
width:50px;
background:#FFF;
}
.reset p {
margin-top:-4px;
font-size: 38px;
font-family: sans-serif;
text-align: center;
}
Thanks in advance