Help:Table/Width

This is an old revision of this page, as edited by Timeshifter (talk | contribs) at 03:17, 18 May 2021 (Clarify). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

See the width and height section of Help:Table.

This example table needs to be on a separate page in order to test it more easily in narrower browser windows. Especially in mobile view on cell phones in portrait orientation.

Note the width versus max-width setting for the center header in the 2 tables below. The large max-width setting for the center header isn't doing anything because the width of the center header text is small.

See also the 2nd subpage.

Center header width setting:

style=width:20em | Center
Left Center Right
Top left cell Top center cell Top right cell
Middle left cell Middle center cell Middle right cell
Bottom left cell Bottom center cell Bottom right cell

Center header width setting:

style=max-width:20em | Center
Left Center Right
Top left cell Top center cell Top right cell
Middle left cell Middle center cell Middle right cell
Bottom left cell Bottom center cell Bottom right cell