Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
teoli2003 committed Apr 15, 2024
1 parent 1cb7703 commit 13b1b1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltablecolelement/align/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The possible values are:

## Examples

As {{htmlelement("td")}} elements of a column are not children of {{htmlelement("col")}}, you can't set it directly on a {{HTMLElement("col")}}, you need to select the cells using a `td:nth-child(n)` or similar (`n` is the column number). Then use CSS `text-align`.
Use CSS `text-align`. As {{htmlelement("td")}} elements of a column are not children of {{htmlelement("col")}}, you can't set it directly on a {{HTMLElement("col")}}, you need to select the cells using a `td:nth-child(n)` or similar (`n` is the column number).

An [example](/en-US/docs/Web/CSS/:nth-child#styling_a_table_column) is available on the {{cssxref(":nth-child()")}} page.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltablecolelement/valign/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The possible values are: `"top"`, `"middle"`, `"bottom"`, or `"baseline"`

## Examples

As {{htmlelement("td")}} elements of a column are not children of {{htmlelement("col")}}, you can't set it directly on a {{HTMLElement("col")}}, you need to select the cells using a `td:nth-child(n)` or similar (`n` is the column number). Then use CSS `vertical-align`.
Use CSS `vertical-align`. As {{htmlelement("td")}} elements of a column are not children of {{htmlelement("col")}}, you can't set it directly on a {{HTMLElement("col")}}, you need to select the cells using a `td:nth-child(n)` or similar (`n` is the column number).

An [example](/en-US/docs/Web/CSS/:nth-child#styling_a_table_column) is available on the {{cssxref(":nth-child()")}} page.

Expand Down

0 comments on commit 13b1b1e

Please sign in to comment.