NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item996: When title is empty ( hint ) empty <p></p> breaks layout in IE

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal No Action Required Extension FormPlugin Foswiki:Main.ArthurClemens, Foswiki:Main.SvenDowideit, Foswiki:Main.EugenMayer
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

ItemTemplate edit

Summary When title is empty ( hint ) empty <p></p> breaks layout in IE
ReportedBy Foswiki:Main.EugenMayer
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component FormPlugin
Priority Normal
CurrentState No Action Required
WaitingFor Foswiki:Main.ArthurClemens, Foswiki:Main.SvenDowideit, Foswiki:Main.EugenMayer
Checkins
ReleasedIn
Topic revision: r3 - 15 Feb 2009 - 00:41:36 - ArthurClemens
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads