<!DOCTYPE html> <div id="wrap" style="background: yellow"> <table style="height: 100%; background: purple"> <tr> <td> This is some text </td> </tr> </table> </div>