Content deleted Content added
Timeshifter (talk | contribs) →CSS width on table header cell: section heading |
Timeshifter (talk | contribs) |
||
Line 48:
|-
| Bottom left cell || Bottom center cell || Bottom right cell
|}
== CSS max-width on a table cell ==
CSS max-width for a table cell works on both desktop and mobile. And it shrinks further as screen or browser narrows. Portrait versus landscape view on cell phone.
:<code>| Bottom left cell || Bottom center cell || style=max-width:40em; |"Lorem ipsum ...</code>
{| class=wikitable style=max-width:40em;
|-
! 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 || style=max-width:40em; |"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|}
|