Help:Display form checkboxes and radionbuttons in an orderly table

From semantic-mediawiki.org
Jump to: navigation, search

Semantic extension(s): Semantic Forms

Further extension(s): -/-

Keyword(s): formatting, CSS

Description:

You can get checkboxes and radiobuttons in your forms to display in a nice table format by adding the following to your "MediaWiki:Common.css" page:

Checkboxes
label.checkboxLabel {
    width: 200px;
    display: block;
    float: left;
}
Radiobuttons
label.radioButtonItem {
    width: 200px;
    display: block;
    float: left;
}