Skip to content

table-layout code example mistake #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Yuyz0112 opened this issue Jan 7, 2018 · 2 comments
Closed

table-layout code example mistake #83

Yuyz0112 opened this issue Jan 7, 2018 · 2 comments

Comments

@Yuyz0112
Copy link

Yuyz0112 commented Jan 7, 2018

In the table-layout(https://tympanus.net/codrops/css_reference/table-layout/) reference's 'The Automatic Table Layout' section, there is a mistake in the code example's class name.

If the width of the table is set, the widths of the columns are set, and the width of the columns is less than the width of the table, the remaining white space is distributed among the columns evenly.

code example: https://tympanus.net/codrops-playground/SaraSoueidan/1KYzzIAk/editor

I think the the second td should has a class name of 'col-2'.

- <td class="col-1">width of second column is 200px</td>
+ <td class="col-2">width of second column is 200px</td>
@Yuyz0112
Copy link
Author

Yuyz0112 commented Jan 7, 2018

Update: another typo
code example: https://tympanus.net/codrops-playground/SaraSoueidan/mf1yAf18/editor

.col-3 {
-  width: 200px;
+  width: 100px;
}

@botelho
Copy link
Member

botelho commented Feb 6, 2018

Fixed! Thanks a lot!

@botelho botelho closed this as completed Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants