You need to make sure that the html and body elements are 100% high. They need to stretch from top to bottom. If the html and body element will only be higher than your table.
Here you have a working sample:
<!doctype html> <html> <head> <title>Table height</title> <style> html, body { padding: 0; margin: 0; height: 100%; } </style> </head> <body> <table style="background: cyan; height: 80%;"> <tr> <td> Table has 80% of the height of the body </td> </tr> </table> </body> </html>
source share