Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Help:Table
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Nowrap === A column will be as wide as its widest cell. To keep a cell from wrapping use <code>style="white-space: nowrap;"</code> If the cell is too wide though this may not be a good idea in cell phones. Part of the table may extend past the screen (especially in portrait view). Without <code>nowrap</code>, as it appears in a browser: <div class="box"> '''Wikitext''' <syntaxhighlight lang="wikitext"> {|class="wikitable sortable" |- ! scope=col | Episode ! scope=col | Date ! scope=col | Summary |- |"The Journey Begins" |January 1, 2010 |{{lorem ipsum|1}}... <!-- produces the long text --> |} </syntaxhighlight></div> <div class="box"> '''Produces''' {|class="wikitable sortable" |- ! scope=col | Episode ! scope=col | Date ! scope=col | Summary |- |"The Journey Begins" |January 1, 2010 |{{lorem ipsum|1}} |} </div> With <code>nowrap</code>, on both the Episode and Date columns, as it appears in a browser: <div class="box"> '''Wikitext''' <syntaxhighlight lang=wikitext highlight=7,8> {|class="wikitable sortable" |- ! scope=col | Episode ! scope=col | Date ! scope=col | Summary |- | style="white-space: nowrap;" |"The Journey Begins" | style="white-space: nowrap;" |January 1, 2010 |{{lorem ipsum|1}}... <!-- produces the long text --> |} </syntaxhighlight></div> <div class="box"> '''Produces''' {|class="wikitable sortable" |- ! scope=col | Episode ! scope=col | Date ! scope=col | Summary |- | style="white-space: nowrap;" |"The Journey Begins" | style="white-space: nowrap;" |January 1, 2010 |{{lorem ipsum|1}} |} </div>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)