{"id":7451,"date":"2016-06-01T23:32:04","date_gmt":"2016-06-01T23:32:04","guid":{"rendered":"https:\/\/aguaps.com\/blog\/marketing-es\/css-para-fijar-cabeceras-a-todas-las-paginas-al-imprimir-table-html\/"},"modified":"2025-08-11T23:02:47","modified_gmt":"2025-08-11T23:02:47","slug":"table_headerfix","status":"publish","type":"post","link":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/","title":{"rendered":"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">C\u00f3mo imprimir table que abarca varias p\u00e1ginas en una p\u00e1gina web en todas las p\u00e1ginas con un encabezado fijo como en Excel.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\">HTML<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Encierre la secci\u00f3n del encabezado que desea fijar en la impresi\u00f3n con tag de &lt;thead>&lt;\/thead> .<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;table>\n   &lt;thead>\n      &lt;tr>\n         &lt;th>First Heading&lt;\/th>\n         &lt;th>Second Heading&lt;\/th>\n         &lt;th>Third Heading&lt;\/th>\n      &lt;\/tr>\n   &lt;\/thead>\n   &lt;tbody>\n      &lt;tr>\n         &lt;td>foo&lt;\/td>\n         &lt;td>bar&lt;\/td>\n         &lt;td>baz&lt;\/td>\n      &lt;\/tr>\n\n      . . .\n\n      &lt;tr>\n         &lt;td>fim&lt;\/td>\n         &lt;td>fam&lt;\/td>\n         &lt;td>fom&lt;\/td>\n      &lt;\/tr>\n   &lt;\/tbody>\n&lt;\/table>\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">CSS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Lo que sigue est\u00e1 escrito en CSS.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">@media print {\n   thead {display: table-header-group;}\n}\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Referencia<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a title=\"http:\/\/www.terminally-incoherent.com\/blog\/2009\/10\/12\/repeating-html-table-headers-on-each-printed-page\/\" href=\"http:\/\/www.terminally-incoherent.com\/blog\/2009\/10\/12\/repeating-html-table-headers-on-each-printed-page\/\">http:\/\/www.terminally-incoherent.com\/blog\/2009\/10\/12\/repeating-html-table-headers-on-each-printed-page\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>C\u00f3mo imprimir table que abarca varias p\u00e1ginas en una p\u00e1gina web en todas las p\u00e1ginas con un encabezado fijo como en Excel.<\/p>\n","protected":false},"author":2,"featured_media":6737,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[69],"tags":[72,71],"class_list":["post-7451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-resource-es","tag-css-es","tag-table-es"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML. |<\/title>\n<meta name=\"description\" content=\"C\u00f3mo imprimir table que abarca varias p\u00e1ginas en una p\u00e1gina web en todas las p\u00e1ginas con un encabezado fijo como en Excel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML. |\" \/>\n<meta property=\"og:description\" content=\"C\u00f3mo imprimir table que abarca varias p\u00e1ginas en una p\u00e1gina web en todas las p\u00e1ginas con un encabezado fijo como en Excel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-01T23:32:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T23:02:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/aguaps.com\/wp-content\/uploads\/2016\/06\/thum-table_headerfix.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"670\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"AGUA Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"AGUA Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/\"},\"author\":{\"name\":\"AGUA Staff\",\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/#\\\/schema\\\/person\\\/bba221d1b5c870234053610e94d0e2d9\"},\"headline\":\"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML.\",\"datePublished\":\"2016-06-01T23:32:04+00:00\",\"dateModified\":\"2025-08-11T23:02:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/\"},\"wordCount\":75,\"publisher\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/#\\\/schema\\\/person\\\/bba221d1b5c870234053610e94d0e2d9\"},\"image\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aguaps.com\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/thum-table_headerfix.jpg\",\"keywords\":[\"#css\",\"#table\"],\"articleSection\":[\"Resource\"],\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/\",\"url\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/\",\"name\":\"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML. |\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/aguaps.com\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/thum-table_headerfix.jpg\",\"datePublished\":\"2016-06-01T23:32:04+00:00\",\"dateModified\":\"2025-08-11T23:02:47+00:00\",\"description\":\"C\u00f3mo imprimir table que abarca varias p\u00e1ginas en una p\u00e1gina web en todas las p\u00e1ginas con un encabezado fijo como en Excel.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/#primaryimage\",\"url\":\"https:\\\/\\\/aguaps.com\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/thum-table_headerfix.jpg\",\"contentUrl\":\"https:\\\/\\\/aguaps.com\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/thum-table_headerfix.jpg\",\"width\":1280,\"height\":670},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/resource-es\\\/table_headerfix\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/aguaps.com\\\/es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/#website\",\"url\":\"https:\\\/\\\/aguaps.com\\\/es\\\/\",\"name\":\"AGUA | Web Planning & Creative , WordPress , Web Marketing\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/#\\\/schema\\\/person\\\/bba221d1b5c870234053610e94d0e2d9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/aguaps.com\\\/es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/aguaps.com\\\/es\\\/#\\\/schema\\\/person\\\/bba221d1b5c870234053610e94d0e2d9\",\"name\":\"AGUA Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/aguaps.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/agua-logo-circle_512x512.png?fit=512%2C512&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/aguaps.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/agua-logo-circle_512x512.png?fit=512%2C512&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/aguaps.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/agua-logo-circle_512x512.png?fit=512%2C512&ssl=1\",\"width\":512,\"height\":512,\"caption\":\"AGUA Staff\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/aguaps.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/agua-logo-circle_512x512.png?fit=512%2C512&ssl=1\"},\"url\":\"https:\\\/\\\/aguaps.com\\\/es\\\/blog\\\/author\\\/staff\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML. |","description":"C\u00f3mo imprimir table que abarca varias p\u00e1ginas en una p\u00e1gina web en todas las p\u00e1ginas con un encabezado fijo como en Excel.","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:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/","og_locale":"es_ES","og_type":"article","og_title":"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML. |","og_description":"C\u00f3mo imprimir table que abarca varias p\u00e1ginas en una p\u00e1gina web en todas las p\u00e1ginas con un encabezado fijo como en Excel.","og_url":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/","article_published_time":"2016-06-01T23:32:04+00:00","article_modified_time":"2025-08-11T23:02:47+00:00","og_image":[{"width":1280,"height":670,"url":"https:\/\/aguaps.com\/wp-content\/uploads\/2016\/06\/thum-table_headerfix.jpg","type":"image\/jpeg"}],"author":"AGUA Staff","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"AGUA Staff","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/#article","isPartOf":{"@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/"},"author":{"name":"AGUA Staff","@id":"https:\/\/aguaps.com\/es\/#\/schema\/person\/bba221d1b5c870234053610e94d0e2d9"},"headline":"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML.","datePublished":"2016-06-01T23:32:04+00:00","dateModified":"2025-08-11T23:02:47+00:00","mainEntityOfPage":{"@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/"},"wordCount":75,"publisher":{"@id":"https:\/\/aguaps.com\/es\/#\/schema\/person\/bba221d1b5c870234053610e94d0e2d9"},"image":{"@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/#primaryimage"},"thumbnailUrl":"https:\/\/aguaps.com\/wp-content\/uploads\/2016\/06\/thum-table_headerfix.jpg","keywords":["#css","#table"],"articleSection":["Resource"],"inLanguage":"es"},{"@type":"WebPage","@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/","url":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/","name":"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML. |","isPartOf":{"@id":"https:\/\/aguaps.com\/es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/#primaryimage"},"image":{"@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/#primaryimage"},"thumbnailUrl":"https:\/\/aguaps.com\/wp-content\/uploads\/2016\/06\/thum-table_headerfix.jpg","datePublished":"2016-06-01T23:32:04+00:00","dateModified":"2025-08-11T23:02:47+00:00","description":"C\u00f3mo imprimir table que abarca varias p\u00e1ginas en una p\u00e1gina web en todas las p\u00e1ginas con un encabezado fijo como en Excel.","breadcrumb":{"@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/#primaryimage","url":"https:\/\/aguaps.com\/wp-content\/uploads\/2016\/06\/thum-table_headerfix.jpg","contentUrl":"https:\/\/aguaps.com\/wp-content\/uploads\/2016\/06\/thum-table_headerfix.jpg","width":1280,"height":670},{"@type":"BreadcrumbList","@id":"https:\/\/aguaps.com\/es\/blog\/resource-es\/table_headerfix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/aguaps.com\/es\/"},{"@type":"ListItem","position":2,"name":"CSS para fijar cabeceras a todas las p\u00e1ginas al imprimir table HTML."}]},{"@type":"WebSite","@id":"https:\/\/aguaps.com\/es\/#website","url":"https:\/\/aguaps.com\/es\/","name":"AGUA | Web Planning & Creative , WordPress , Web Marketing","description":"","publisher":{"@id":"https:\/\/aguaps.com\/es\/#\/schema\/person\/bba221d1b5c870234053610e94d0e2d9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aguaps.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":["Person","Organization"],"@id":"https:\/\/aguaps.com\/es\/#\/schema\/person\/bba221d1b5c870234053610e94d0e2d9","name":"AGUA Staff","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/i0.wp.com\/aguaps.com\/wp-content\/uploads\/2023\/12\/agua-logo-circle_512x512.png?fit=512%2C512&ssl=1","url":"https:\/\/i0.wp.com\/aguaps.com\/wp-content\/uploads\/2023\/12\/agua-logo-circle_512x512.png?fit=512%2C512&ssl=1","contentUrl":"https:\/\/i0.wp.com\/aguaps.com\/wp-content\/uploads\/2023\/12\/agua-logo-circle_512x512.png?fit=512%2C512&ssl=1","width":512,"height":512,"caption":"AGUA Staff"},"logo":{"@id":"https:\/\/i0.wp.com\/aguaps.com\/wp-content\/uploads\/2023\/12\/agua-logo-circle_512x512.png?fit=512%2C512&ssl=1"},"url":"https:\/\/aguaps.com\/es\/blog\/author\/staff\/"}]}},"jetpack_featured_media_url":"https:\/\/aguaps.com\/wp-content\/uploads\/2016\/06\/thum-table_headerfix.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/posts\/7451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/comments?post=7451"}],"version-history":[{"count":4,"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/posts\/7451\/revisions"}],"predecessor-version":[{"id":7455,"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/posts\/7451\/revisions\/7455"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/media\/6737"}],"wp:attachment":[{"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/media?parent=7451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/categories?post=7451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aguaps.com\/es\/wp-json\/wp\/v2\/tags?post=7451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}