<table> <tr><td ><div style="width: 400px; background-color:green; height:100%">This div does not flex.</div></td> <td><img height=200 width=200></td></tr></table> <p></p> <table> <tr><td ><img style="width: 400px; height:200px; background-color:green;"></td> <td><img height=200 width=200></td></tr></table>