{"id":17870986,"date":"2024-07-05T12:03:52","date_gmt":"2024-07-05T12:03:52","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/html-validation-errors-15\/"},"modified":"2024-07-05T12:03:52","modified_gmt":"2024-07-05T12:03:52","slug":"html-validation-errors-15","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/html-validation-errors-15\/","title":{"rendered":"HTML Validation errors"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi &#8211; first of all great plugin, really helped us out being able to add more than just standard text in table cells. We&#8217;re getting some HTML validation errors and wondered if you knew how we could resolve? For example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code><strong>Error:\u00a0The\u00a0<code>width<\/code>\u00a0attribute on the\u00a0<code>col<\/code>\u00a0element is obsolete.\u00a0<a href=\"https:\/\/wiki.whatwg.org\/wiki\/Presentational_elements_and_attributes\">Use CSS instead<\/a>.<\/strong><\/code><br \/><code>&lt;colgroup&gt;<strong>&lt;col width=\"\" style=\"min-width:;\"\/&gt;<\/strong>&lt;col w<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>Error:\u00a0CSS:\u00a0min-width: Parse Error.<\/code><\/strong><br \/><code>width:;\"\/&gt;<strong>&lt;col width=\"\" style=\"min-width:;\"\/&gt;<\/strong>&lt;col w<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From what I can tell this is coming form an empty <code>&lt;colgroup&gt;<\/code> which is the first direct child of the <code>&lt;table&gt;<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any ideas on how to resolve?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Many thanks,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dan<\/p>\n","protected":false},"template":"","class_list":["post-17870986","topic","type-topic","status-publish","hentry","topic-tag-html","topic-tag-html-attributes","topic-tag-inline-css","topic-tag-table"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17870986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17870986\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17870986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}