Quote:
Originally Posted by SeaCanary
Code:
.verse {
margin-bottom: 0.5em;
}
.verse p {
margin:0 0 0 1em;
text-indent:-1em;
}
.chorus p {
margin:0 0 0 2em;
}
What am I doing wrong?
|
I think it may be a matter of precedence/priority. You may have set a default bottom/top margin for <p> elsewhere, or the renderer you are using may have such a hidden deffinition. What happens then is that an explicit "margin-top", or the corresponding value in the 4-valued "margin" property takes precedence over the 1-valued "margin".