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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -