Consistent Margins for List Items

All of the distributed Moin themes have the following CSS statement near the top of common.css.

li p {
        margin: .25em 0;
}

The effect of the above is to increase the top and bottom margins for those list elements that have a p element in them (due to a bug in the parser/formatter, these are the ones with words formatted with italic, bold, etc). As a result, lists that have a few entries with emphasized text appear with malformed line spacing:

The inconsistent formatting should be eliminated by removing the CSS statement above.

/!\ For my browser and the "modernized" theme here, this doesn't work. What works mostly is to use "li p {margin: 0;}", except for the superscript/subscript case, which seems to add another margin.


CategoryFeatureRequest

MoinMoin: FeatureRequests/ConsistentMarginsForListItems (last edited 2008-10-24 17:36:48 by ThomasWaldmann)