-
Notifications
You must be signed in to change notification settings - Fork 17
WHorizontalRule
Mark Reeves edited this page Jan 4, 2018
·
7 revisions
WHorizontalRule is a component for adding a decorative divider between components.
WHorizontalRule outputs a HTML hr Element which has in the flow content category and must not be added to any WComponent which may only contain phrasing content.
In a word: don't.
WHorizontalRule is a separator. It is used only to separate content which cannot be separated by use of more appropriate grouping tools. If you wish to break up an application into meaningful sections it may be more appropriate to use WFieldSet, WPanel (especially those of type CHROME
, ACTION
or FEATURE
) or WHeading.
WHorizontalRule must never be used to group form controls into semantic parts: WFieldSet should always be used to break sections of form controls into semantic parts.