{"id":2501,"date":"2015-08-06T12:21:17","date_gmt":"2015-08-06T12:21:17","guid":{"rendered":"https:\/\/sadeen.vikingsgate.com\/style-tables\/"},"modified":"2015-08-06T12:21:17","modified_gmt":"2015-08-06T12:21:17","slug":"style-tables","status":"publish","type":"page","link":"https:\/\/sadeenliving.com\/en\/style-tables\/","title":{"rendered":"Style &#8211; Tables"},"content":{"rendered":"<h2>Default styles<\/h2>\n<p>For basic styling\u2014light padding and only horizontal dividers\u2014add the base class <code>.table<\/code> to any <code>&lt;table&gt;<\/code>.<\/p>\n<div class=\"bs-docs-example\">\n<table class=\"table\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Larry<\/td>\n<td>the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<pre class=\"prettyprint linenums\">\r\n&lt;table&gt;\r\n  \u2026\r\n&lt;\/table&gt;\r\n<\/pre>\n<hr class=\"bs-docs-separator\" \/>\n<h2>Optional classes<\/h2>\n<p>Add any of the following classes to the <code>.table<\/code> base class.<\/p>\n<h3><code>.table-striped<\/code><\/h3>\n<p>Adds zebra-striping to any table row within the <code>&lt;tbody&gt;<\/code> via the <code>:nth-child<\/code> CSS selector (not available in IE7-IE8).<\/p>\n<div class=\"bs-docs-example\">\n<table class=\"table table-striped\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Larry<\/td>\n<td>the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<pre class=\"prettyprint linenums\">\r\n&lt;table&gt;\r\n  \u2026\r\n&lt;\/table&gt;\r\n<\/pre>\n<h3><code>.table-bordered<\/code><\/h3>\n<p>Add borders and rounded corners to the table.<\/p>\n<div class=\"bs-docs-example\">\n<table class=\"table table-bordered\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td rowspan=\"2\">1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@TwBootstrap<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td colspan=\"2\">Larry the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<pre class=\"prettyprint linenums\">\r\n&lt;table&gt;\r\n  \u2026\r\n&lt;\/table&gt;\r\n<\/pre>\n<h3><code>.table-hover<\/code><\/h3>\n<p>Enable a hover state on table rows within a <code>&lt;tbody&gt;<\/code>.<\/p>\n<div class=\"bs-docs-example\">\n<table class=\"table table-hover\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td colspan=\"2\">Larry the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<pre class=\"prettyprint linenums\">\r\n&lt;table&gt;\r\n  \u2026\r\n&lt;\/table&gt;\r\n<\/pre>\n<h3><code>.table-condensed<\/code><\/h3>\n<p>Makes tables more compact by cutting cell padding in half.<\/p>\n<div class=\"bs-docs-example\">\n<table class=\"table table-condensed\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td colspan=\"2\">Larry the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<pre class=\"prettyprint linenums\">\r\n&lt;table&gt;\r\n  \u2026\r\n&lt;\/table&gt;\r\n<\/pre>\n<hr class=\"bs-docs-separator\" \/>\n<h2>Optional row classes<\/h2>\n<p>Use contextual classes to color table rows.<\/p>\n<table class=\"table table-bordered table-striped\">\n<colgroup>\n<col class=\"span1\" \/>\n<col class=\"span7\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>Class<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>.success<\/code><\/td>\n<td>Indicates a successful or positive action.<\/td>\n<\/tr>\n<tr>\n<td><code>.error<\/code><\/td>\n<td>Indicates a dangerous or potentially negative action.<\/td>\n<\/tr>\n<tr>\n<td><code>.warning<\/code><\/td>\n<td>Indicates a warning that might need attention.<\/td>\n<\/tr>\n<tr>\n<td><code>.info<\/code><\/td>\n<td>Used as an alternative to the default styles.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"bs-docs-example\">\n<table class=\"table\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>Product<\/th>\n<th>Payment Taken<\/th>\n<th>Status<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"success\">\n<td>1<\/td>\n<td>TB &#8211; Monthly<\/td>\n<td>01\/04\/2012<\/td>\n<td>Approved<\/td>\n<\/tr>\n<tr class=\"error\">\n<td>2<\/td>\n<td>TB &#8211; Monthly<\/td>\n<td>02\/04\/2012<\/td>\n<td>Declined<\/td>\n<\/tr>\n<tr class=\"warning\">\n<td>3<\/td>\n<td>TB &#8211; Monthly<\/td>\n<td>03\/04\/2012<\/td>\n<td>Pending<\/td>\n<\/tr>\n<tr class=\"info\">\n<td>4<\/td>\n<td>TB &#8211; Monthly<\/td>\n<td>04\/04\/2012<\/td>\n<td>Call in to confirm<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<pre class=\"prettyprint linenums\">...\r\n  &lt;tr class=\"success\"&gt;\r\n    &lt;td&gt;1&lt;\/td&gt;\r\n    &lt;td&gt;TB - Monthly&lt;\/td&gt;\r\n    &lt;td&gt;01\/04\/2012&lt;\/td&gt;\r\n    &lt;td&gt;Approved&lt;\/td&gt;\r\n  &lt;\/tr&gt;\r\n...<\/pre>\n<hr class=\"bs-docs-separator\" \/>\n<h2>Supported table markup<\/h2>\n<p>List of supported table HTML elements and how they should be used.<\/p>\n<table class=\"table table-bordered table-striped\">\n<colgroup>\n<col class=\"span1\" \/>\n<col class=\"span7\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>&lt;table&gt;<\/code><\/td>\n<td>Wrapping element for displaying data in a tabular format<\/td>\n<\/tr>\n<tr>\n<td><code>&lt;thead&gt;<\/code><\/td>\n<td>Container element for table header rows (<code>&lt;tr&gt;<\/code>) to label table columns<\/td>\n<\/tr>\n<tr>\n<td><code>&lt;tbody&gt;<\/code><\/td>\n<td>Container element for table rows (<code>&lt;tr&gt;<\/code>) in the body of the table<\/td>\n<\/tr>\n<tr>\n<td><code>&lt;tr&gt;<\/code><\/td>\n<td>Container element for a set of table cells (<code>&lt;td&gt;<\/code> or <code>&lt;th&gt;<\/code>) that appears on a single row<\/td>\n<\/tr>\n<tr>\n<td><code>&lt;td&gt;<\/code><\/td>\n<td>Default table cell<\/td>\n<\/tr>\n<tr>\n<td><code>&lt;th&gt;<\/code><\/td>\n<td>Special table cell for column (or row, depending on scope and placement) labelsMust be used within a <code>&lt;thead&gt;<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>&lt;caption&gt;<\/code><\/td>\n<td>Description or summary of what the table holds, especially useful for screen readers<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<pre class=\"prettyprint linenums\">&lt;table&gt;\r\n  &lt;caption&gt;...&lt;\/caption&gt;\r\n  &lt;thead&gt;\r\n    &lt;tr&gt;\r\n      &lt;th&gt;...&lt;\/th&gt;\r\n      &lt;th&gt;...&lt;\/th&gt;\r\n    &lt;\/tr&gt;\r\n  &lt;\/thead&gt;\r\n  &lt;tbody&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;...&lt;\/td&gt;\r\n      &lt;td&gt;...&lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n  &lt;\/tbody&gt;\r\n&lt;\/table&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Default styles For basic styling\u2014light padding and only horizontal dividers\u2014add the base class .table to any &lt;table&gt;. # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter Optional classes Add any of the following classes to the .table base class. .table-striped Adds zebra-striping to any table<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"content-type":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v20.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Style - Tables - SADEEN Living<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sadeenliving.com\/en\/style-tables\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Style - Tables\" \/>\n<meta property=\"og:description\" content=\"Default styles For basic styling\u2014light padding and only horizontal dividers\u2014add the base class .table to any &lt;table&gt;. # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter Optional classes Add any of the following classes to the .table base class. .table-striped Adds zebra-striping to any table\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sadeenliving.com\/en\/style-tables\/\" \/>\n<meta property=\"og:site_name\" content=\"SADEEN Living\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sadeenliving.com\/wp-content\/uploads\/2023\/12\/featured-image-website-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sadeenliving.com\/en\/style-tables\/\",\"url\":\"https:\/\/sadeenliving.com\/en\/style-tables\/\",\"name\":\"Style - Tables - SADEEN Living\",\"isPartOf\":{\"@id\":\"https:\/\/sadeenliving.com\/#website\"},\"datePublished\":\"2015-08-06T12:21:17+00:00\",\"dateModified\":\"2015-08-06T12:21:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sadeenliving.com\/en\/style-tables\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sadeenliving.com\/en\/style-tables\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sadeenliving.com\/en\/style-tables\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sadeenliving.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Style &#8211; Tables\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sadeenliving.com\/#website\",\"url\":\"https:\/\/sadeenliving.com\/\",\"name\":\"SADEEN Living\",\"description\":\"Real Estate\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sadeenliving.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Style - Tables - SADEEN Living","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sadeenliving.com\/en\/style-tables\/","og_locale":"en_US","og_type":"article","og_title":"Style - Tables","og_description":"Default styles For basic styling\u2014light padding and only horizontal dividers\u2014add the base class .table to any &lt;table&gt;. # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter Optional classes Add any of the following classes to the .table base class. .table-striped Adds zebra-striping to any table","og_url":"https:\/\/sadeenliving.com\/en\/style-tables\/","og_site_name":"SADEEN Living","og_image":[{"width":1200,"height":675,"url":"https:\/\/sadeenliving.com\/wp-content\/uploads\/2023\/12\/featured-image-website-2.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sadeenliving.com\/en\/style-tables\/","url":"https:\/\/sadeenliving.com\/en\/style-tables\/","name":"Style - Tables - SADEEN Living","isPartOf":{"@id":"https:\/\/sadeenliving.com\/#website"},"datePublished":"2015-08-06T12:21:17+00:00","dateModified":"2015-08-06T12:21:17+00:00","breadcrumb":{"@id":"https:\/\/sadeenliving.com\/en\/style-tables\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sadeenliving.com\/en\/style-tables\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sadeenliving.com\/en\/style-tables\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sadeenliving.com\/en\/"},{"@type":"ListItem","position":2,"name":"Style &#8211; Tables"}]},{"@type":"WebSite","@id":"https:\/\/sadeenliving.com\/#website","url":"https:\/\/sadeenliving.com\/","name":"SADEEN Living","description":"Real Estate","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sadeenliving.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/sadeenliving.com\/en\/wp-json\/wp\/v2\/pages\/2501"}],"collection":[{"href":"https:\/\/sadeenliving.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sadeenliving.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sadeenliving.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sadeenliving.com\/en\/wp-json\/wp\/v2\/comments?post=2501"}],"version-history":[{"count":0,"href":"https:\/\/sadeenliving.com\/en\/wp-json\/wp\/v2\/pages\/2501\/revisions"}],"wp:attachment":[{"href":"https:\/\/sadeenliving.com\/en\/wp-json\/wp\/v2\/media?parent=2501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}