Doghouse UiKit

16.1 #Table.table Table

Toggle example guides Toggle HTML markup

Table fills width and has normalized spacing and headings,

Example
#FruitColorComment
1AppleGreenGood for apple pies
2OrangeOrangeJuice them up
3BananaYellowMonkeys love them, are also great in milkshakes. Can be used to make bread.
Markup
 <table>
   <thead>
     <tr><th width="5%">#</th><th width="20%">Fruit</th><th width="20%">Color</th><th width="55%">Comment</th></tr>
   </thead>
   <tbody>
      <tr><th>1</th><td>Apple</td><td>Green</td><td>Good for apple pies</td></tr>
      <tr><th>2</th><td>Orange</td><td>Orange</td><td>Juice them up</td></tr>
      <tr><th>3</th><td>Banana</td><td>Yellow</td><td>Monkeys love them, are also great in milkshakes. Can be used to make bread.</td></tr>
   </tbody>
 </table>
Source: scss/base/_table.scss, line 4