{"id":195,"date":"2015-08-06T12:21:17","date_gmt":"2015-08-06T12:21:17","guid":{"rendered":"http:\/\/sample-data.kallyas.net\/?page_id=195"},"modified":"2015-08-06T12:21:17","modified_gmt":"2015-08-06T12:21:17","slug":"style-tables","status":"publish","type":"page","link":"https:\/\/www.pensionbarcelona.com\/?page_id=195","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\">\n&lt;table&gt;\n  \u2026\n&lt;\/table&gt;\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\">\n&lt;table&gt;\n  \u2026\n&lt;\/table&gt;\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\">\n&lt;table&gt;\n  \u2026\n&lt;\/table&gt;\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\">\n&lt;table&gt;\n  \u2026\n&lt;\/table&gt;\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\">\n&lt;table&gt;\n  \u2026\n&lt;\/table&gt;\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\">...\n  &lt;tr class=\"success\"&gt;\n    &lt;td&gt;1&lt;\/td&gt;\n    &lt;td&gt;TB - Monthly&lt;\/td&gt;\n    &lt;td&gt;01\/04\/2012&lt;\/td&gt;\n    &lt;td&gt;Approved&lt;\/td&gt;\n  &lt;\/tr&gt;\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;\n  &lt;caption&gt;...&lt;\/caption&gt;\n  &lt;thead&gt;\n    &lt;tr&gt;\n      &lt;th&gt;...&lt;\/th&gt;\n      &lt;th&gt;...&lt;\/th&gt;\n    &lt;\/tr&gt;\n  &lt;\/thead&gt;\n  &lt;tbody&gt;\n    &lt;tr&gt;\n      &lt;td&gt;...&lt;\/td&gt;\n      &lt;td&gt;...&lt;\/td&gt;\n    &lt;\/tr&gt;\n  &lt;\/tbody&gt;\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 row within the &lt;tbody&gt; via the :nth-child CSS selector (not available in IE7-IE8). # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter .table-bordered Add borders and rounded corners to the table. # First Name Last Name Username 1 Mark Otto @mdo Mark Otto @TwBootstrap 2<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-195","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Style - Tables - PENSION BARCELONA<\/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:\/\/www.pensionbarcelona.com\/?page_id=195\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Style - Tables - PENSION BARCELONA\" \/>\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 row within the &lt;tbody&gt; via the :nth-child CSS selector (not available in IE7-IE8). # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter .table-bordered Add borders and rounded corners to the table. # First Name Last Name Username 1 Mark Otto @mdo Mark Otto @TwBootstrap 2\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pensionbarcelona.com\/?page_id=195\" \/>\n<meta property=\"og:site_name\" content=\"PENSION BARCELONA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pensionbarcelona.com\/?page_id=195\",\"url\":\"https:\/\/www.pensionbarcelona.com\/?page_id=195\",\"name\":\"Style - Tables - PENSION BARCELONA\",\"isPartOf\":{\"@id\":\"https:\/\/www.pensionbarcelona.com\/#website\"},\"datePublished\":\"2015-08-06T12:21:17+00:00\",\"dateModified\":\"2015-08-06T12:21:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pensionbarcelona.com\/?page_id=195#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pensionbarcelona.com\/?page_id=195\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pensionbarcelona.com\/?page_id=195#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/www.pensionbarcelona.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Style &#8211; Tables\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pensionbarcelona.com\/#website\",\"url\":\"https:\/\/www.pensionbarcelona.com\/\",\"name\":\"PENSION BARCELONA\",\"description\":\"Pension Barcelona Centro. Web en construcci\u00f3n\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pensionbarcelona.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Style - Tables - PENSION BARCELONA","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:\/\/www.pensionbarcelona.com\/?page_id=195","og_locale":"es_ES","og_type":"article","og_title":"Style - Tables - PENSION BARCELONA","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 row within the &lt;tbody&gt; via the :nth-child CSS selector (not available in IE7-IE8). # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter .table-bordered Add borders and rounded corners to the table. # First Name Last Name Username 1 Mark Otto @mdo Mark Otto @TwBootstrap 2","og_url":"https:\/\/www.pensionbarcelona.com\/?page_id=195","og_site_name":"PENSION BARCELONA","twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pensionbarcelona.com\/?page_id=195","url":"https:\/\/www.pensionbarcelona.com\/?page_id=195","name":"Style - Tables - PENSION BARCELONA","isPartOf":{"@id":"https:\/\/www.pensionbarcelona.com\/#website"},"datePublished":"2015-08-06T12:21:17+00:00","dateModified":"2015-08-06T12:21:17+00:00","breadcrumb":{"@id":"https:\/\/www.pensionbarcelona.com\/?page_id=195#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pensionbarcelona.com\/?page_id=195"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pensionbarcelona.com\/?page_id=195#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/www.pensionbarcelona.com\/"},{"@type":"ListItem","position":2,"name":"Style &#8211; Tables"}]},{"@type":"WebSite","@id":"https:\/\/www.pensionbarcelona.com\/#website","url":"https:\/\/www.pensionbarcelona.com\/","name":"PENSION BARCELONA","description":"Pension Barcelona Centro. Web en construcci\u00f3n","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pensionbarcelona.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"}]}},"_links":{"self":[{"href":"https:\/\/www.pensionbarcelona.com\/index.php?rest_route=\/wp\/v2\/pages\/195"}],"collection":[{"href":"https:\/\/www.pensionbarcelona.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pensionbarcelona.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pensionbarcelona.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pensionbarcelona.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=195"}],"version-history":[{"count":0,"href":"https:\/\/www.pensionbarcelona.com\/index.php?rest_route=\/wp\/v2\/pages\/195\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.pensionbarcelona.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}