Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Guild of Archivists
Search
Editing
Help:Tables
(section)
From Guild of Archivists
Namespaces
Help page
Discussion
More
More
Page actions
Read
Edit source
History
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!
== Table width == Sometimes tables should have defined widths. In this case, you can add ''width="X"'' to table formatting for small tables. For bigger ones, use ''style="width:100%;max-width:Xpx"'' instead, so that tables scale down on smaller resolutions. Note that when defining a width, you should also '''define the width of each cell in the 1st row''' (you can define widths using either percent, ''width=number%''; or pixels, ''width=number''; it will still scale down), like in the example below: <pre> {| class="wikitable" style="width:100%;max-width:1000px;" ! A ! B |- | Lorem ipsum | Dolor sit amet |} {| class="wikitable" style="width:100%;max-width:1000px;" ! width=400 | A ! width=600 | B |- | Lorem ipsum | Dolor sit amet |} </pre> results in: {| class="wikitable" style="width:100%;max-width:1000px;" ! A ! B |- | Lorem ipsum | Dolor sit amet |} {| class="wikitable" style="width:100%;max-width:1000px;" ! width=400 | A ! width=600 | B |- | Lorem ipsum | Dolor sit amet |} If the first row has colspanned cells, it is better to define their width too, and then define width of the columns they are spanning in the next row, like this: <pre> {| class="wikitable" style="width:100%;max-width:1000px;" ! colspan="2" width=1000 | A |- | width=400 | Lorem ipsum | width=600 | Dolor sit amet |} </pre> {| class="wikitable" style="width:100%;max-width:1000px;" ! colspan="2" width=1000 | A |- | width=400 | Lorem ipsum | width=600 | Dolor sit amet |}
Summary:
Please note that all contributions to Guild of Archivists may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
GoArch:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main Page
Random page
Categories
All pages
Recent changes
Resources
D'ni dictionary
Reference material
Utilities
Community
Forums
Jalak Game Directory
Projects
Apocrypha
Unexplored Branches
All projects
Contribute
Stubs
Wanted
Cleanup
Dead ends
Image requested
Help
Help
Guide
Policies
Wiki tools
Wiki tools
Special pages
Page values
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs