-
-
Notifications
You must be signed in to change notification settings - Fork 710
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
Honor the vertical-align property in fixed-height cells #31
Comments
I haven’t looked into the details yet, but could you be more specific? Please provide an example (HTML and CSS), explain what is the behavior you expected and what you’re getting instead. |
I have tried <style type="text/css"> td {height: 50px} </style>But the heigth of the cells did not change. |
Here's a simple example now that heights are handled for tables: |
Having the same problem here... If there's at least a workaround, that would be great ! |
@ewjoachim Could you give details on what problem exactly you’re having? Please provide an example (HTML and CSS), explain what is the behavior you expected and what you’re getting instead. |
HTML code : <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
td
{
height: 50px;
border: 1px solid red;
vertical-align: bottom;
}
</style>
</head>
<body>
<table>
<tr><td>Yay</td></tr>
</table>
</body>
</html> (no CSS other than inlined) Expected : "Yay" should be at the bottom of the cell |
Having the same problem here. Does anybody know if @s31415 fix works? Any plan on merging it? |
|
I'll take a look at this |
The patch proposed in #214 works for fixed-height rows, but not for fixed-height cells. I'm trying to find a better solution. |
f4f8c25 fixes the main common cases (and doesn't break any test). I'm not sure about many corner cases, including:
I'll add some tests and fix the bugs I can find. @honi @knyttl : you are welcome to test and find any case that's not working for you! |
inside table cell vertical align is not working
The text was updated successfully, but these errors were encountered: