Skip to content

colgroup css examples don't work as expected because minimal-table.css already has th and td rules #44816

Description

@xdavidliu

MDN URL

https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content/HTML_table_basics

What specific section or headline is this issue about?

HTML_table_basics#grouping_columns_with_colgroup_and_col

What information was incorrect, unhelpful, or incomplete?

top of page tells us to use the template, which applies minimal-table.css. That css file already has th and td rules. The colgroup section tells us to add rules for the cols in order to shade columns, but those don't work because they are overridden by the th and td rules.

What did you expect to see?

some text telling us to first disable the th and td rules in the css so that the colgroup rules will work

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:Learn:HTMLLearning area HTML docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions