Support Center

Styling HTML Tables

Last Updated: Apr 23, 2012 05:27PM EDT
If you are creating an HTML page and wish to display a table of data, you may find the display spaced out as a table but with no borders.  This is because, by default tables have no borders in Shivtr's default styles.  To add borders you need to add CSS classes to your tables.

For a typical table, with borders around every cell, add the "styled" class to your table:

<table class='styled'>


For a table with only top and bottom borders, try also adding the "listed" class to your table:

<table class="styled listed">


And now your tables can be styled to your preference =)

Recent Discussions

Ajax-loader-small
http://assets1.desk.com/r1046ffeaa2233e531563a32d7edef6677d8a78b5/javascripts/
false
shivtr
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
true
Invalid characters found
/customer/portal/articles/autocomplete
There was an error contacting Get Satisfaction
View All
0
discussions
replies
Questions
Ideas
Problems
Praise