-
Notifications
You must be signed in to change notification settings - Fork 20
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
table[align] ignores parent td's vertical alignment in The Outlooks on Windows #105
Comments
I haven't tested this, but can we rename the title of the issue to something easier to read like the below?
Or because this is not specific to the
On a separate note, is this specific to vertically aligning the table to the middle (with |
Looks like the title has been updated already. And yes, I just tested it and |
To add 2p., very interesting, check out this from w3 — there
... and "real" |
In addition to the information stated above, here are some tests that show what works and what doesn't.
what is interesting to note is that if we do td valign> table align it does not work, if we just do td align, it works. And when you do tr align>td valign or tr valign >td align, it works both ways. |
Attempting to vertically align a
<table>
within a<td>
in Outlook 2013/2016/2019/365 will fail if the<table>
is also being aligned with thealign
attribute.Example Code:
Screenshot:
Bugged table at the top. The second table is how it should look.
Notes:
valign
attribute or thevertical-align
CSS inline style on the parent container. And it affects your use of the valuesmiddle
andbottom
. In this case, I only tested with a parent<td>
.left
orright
. Thecenter
value doesn't break anything and your vertical alignment behaves as expected.Solutions:
align
attribute on the parent container instead. This has been tested with a<td>
as the parent.Please chime in if you can think of alternative solutions!
The text was updated successfully, but these errors were encountered: