Quote:
Originally Posted by Slevin#7
As you may see here, this is all you can configure about margins:
Attachment 217075
And whatever you set, it only affects page margins, not any p-tag or elsewhat margins.
I never set any applications to German, since this makes things just senseless complicated for development, but to explain, 'unset' means really unset and not default in the sense of author's preference.
Anyhow, I will share now my current solution which has the benefit to keep semantically correct p-tags. I will add this pseudo-element class only to selected p-tags where absolutely necessary due to styling issues otherwise. At least with the readers I've tested there seems no clash so far with the standardly applied styles. And Google also makes no troubles although height is set to 0. So here we go:
CSS
Code:
p.special-treatment:before,
p.special-treatment:after {
content: "";
display: block;
height: 0 !important;
}
p.special-treatment:before {
margin-top: 2em;
}
p.special-treatment:after {
margin-bottom: 2em;
}
We add block elements with a height of 0, apply margins and therefore stay in the same margin-scope with p which allows for collapsing.
Hallelujah everyone, just doing well asylum style... 
|
Nice! The problem here Is the code doesn't work for RMSDK (ADE Legacy).