{"id":164,"date":"2017-01-31T18:18:06","date_gmt":"2017-01-31T18:18:06","guid":{"rendered":"http:\/\/tommustester.wpengine.com\/?page_id=164"},"modified":"2020-05-31T14:46:01","modified_gmt":"2020-05-31T14:46:01","slug":"tables","status":"publish","type":"page","link":"https:\/\/rossk.uk\/?page_id=164","title":{"rendered":"Elements &#8211; Tables"},"content":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column]\n\t\t\t<section class=\"imagebg image--light cover cover-blocks bg--secondary \" >\n\t\t\t\t<div class=\"background-image-holder\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1253\" src=\"https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-scaled.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-scaled.jpg 2560w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-300x147.jpg 300w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-1024x501.jpg 1024w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-768x376.jpg 768w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-1536x752.jpg 1536w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-2048x1002.jpg 2048w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/div>\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-sm-6 col-md-5\">\n\t\t\t\t\t\t\t<div>[vc_column_text]<\/p>\n<h1>Tables<\/h1>\n<p class=\"lead\">These modular elements can be readily used and customized across pages and in different blocks.<\/p>\n<hr class=\"short\" \/>\n<p>Explore all of Stack&#8217;s modular elements<br \/>\nat the\u00a0<a href=\"\/elements\/\">Element Index Page \u2192<\/a>[\/vc_column_text]<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div><!--end of row-->\n\t\t\t\t<\/div><!--end of container-->\n\t\t\t\t\n\t\t\t<\/section>\n\t\t[\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498220974087{padding-top: 0px !important;}&#8221; ebor_docs=&#8221;&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Standard Tables<\/h4>\n<p>This code will display a standard, variable-width table using basic HTML table markup.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_column_text]<\/p>\n<table class=\"border--round\">\n<thead>\n<tr>\n<th>Value 1<\/th>\n<th>Value 2<\/th>\n<th>Value 3<\/th>\n<th>Value 4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Alternating Columns<\/h4>\n<p>Add the class <strong>.table&#8211;alternate-column<\/strong> to the table element to offset every second column with a slightly darker background colour. This is useful when creating wide tables with many values.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_column_text]<\/p>\n<table class=\"border--round table--alternate-column\">\n<thead>\n<tr>\n<th>Value 1<\/th>\n<th>Value 2<\/th>\n<th>Value 3<\/th>\n<th>Value 4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Alternating Rows<\/h4>\n<p>Add the class <strong>.table&#8211;alternate-row<\/strong> to the table element to offset every second row with a slightly darker background colour. This is useful when creating wide tables with many values.<\/p>\n<p>[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_column_text]<\/p>\n<table class=\"border--round table--alternate-row\">\n<thead>\n<tr>\n<th>Value 1<\/th>\n<th>Value 2<\/th>\n<th>Value 3<\/th>\n<th>Value 4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][\/vc_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498220974087{padding-top: 0px !important;}&#8221; ebor_docs=&#8221;&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_column_text] Value 1 Value 2 Value 3 Value 4 1 2 3&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-164","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/164"}],"collection":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":1,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/164\/revisions"}],"predecessor-version":[{"id":2702,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/164\/revisions\/2702"}],"up":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}