HTML row fill vertical space -


just doing experiments html, wonder, why second line not fill remaining space. why table not stretched vertically?

<table width="100%" border="1" height="100%">   <tr>       <td align=center>line 1       </td>   </tr>   <tr height="90%" >       <td>line 2       </td>   </tr> </table> 

block elements, table being 1 of them, expand size of contents.

100% has no context in case. give value in numbers.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -