Oct 19, 2006 #1 TheConeHead Programmer Joined Aug 14, 2002 Messages 2,106 Location US What is the best way to size 100% vertically?
Oct 19, 2006 Thread starter #2 TheConeHead Programmer Joined Aug 14, 2002 Messages 2,106 Location US OK I can get the size via: document.body.clientHeight How can I take this number and apply it to a cell: <td height="157">.... Upvote 0 Downvote
OK I can get the size via: document.body.clientHeight How can I take this number and apply it to a cell: <td height="157">....
Oct 19, 2006 #3 Vragabond Programmer Joined Jul 23, 2003 Messages 5,100 Location AT The best way to size things 100% vertically is to define it. Canvas is html element and it (and all the elements within it) must be 100% high. So, Code: html, body { height: 100%; } #myDiv { background: red; height: 100%; } The div will be 100% high. Upvote 0 Downvote
The best way to size things 100% vertically is to define it. Canvas is html element and it (and all the elements within it) must be 100% high. So, Code: html, body { height: 100%; } #myDiv { background: red; height: 100%; } The div will be 100% high.