-
Notifications
You must be signed in to change notification settings - Fork 748
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
Wrong width of <TD> when using border-collapse and a <div> element #73
Comments
it is because you do not put any width to the div. It was not possible to determine the possible width of a diff without any performance pb. |
In CSS a block element inherits the width from its parent element. In this case the parent element is the But I wonder why the |
we have to look at why it works without collapse... |
Yes. I tried to do that, but it was too confusing :-/ |
There was a little bug on the div position, it is fixed on master branch. Now it works with this :
|
Hi.
I have found a bug, when having a table with
border-collapse: collapse
and there is aYou can reproduce the issue with this snippet:
The result of this code looks like this:
The first column is stretched over the whole page, because of the
<div>
element in the table cell.But if you remove the
table {border-collapse: collapse;}
the table is rendered correctly. See:I tried to debug the code and find out why this happens. But I was unsuccessful. So I hope you are more successful and can fix the issue @spipu ;-)
The text was updated successfully, but these errors were encountered: