Item996: When title is empty ( hint ) empty <p></p>
breaks layout in IE
Priority: Normal
Current State: No Action Required
Released In:
Target Release:
Applies To: Extension
Component: FormPlugin
Branches:
When you don't enter a hint for a element ( mostly checkboxes ) the default format prints
<p></p>
at the place where they should be displayed. This works for the FF because it kindly ignores them and does not display them as normal p`s.
Nevertheless IE is displaying a full pagebreak. That way the IE and FF layout looks completely different and broken.
Proposal
Dont print
<p></p>
if $t is empty
Sideeffects
The form-steps will be shown closely to eachother in the FF if the
<p></p>
are removed. It seems like empty p is shown like a line with a small line-height. To fix this, we need to set a proper padding-top on the formStep css class. Then IE and FF look the same