# HG changeset patch # User Daniel O'Connor # Date 1313412248 -34200 # Node ID faacb77ce8f49f6d3db9070e9b432138d9287b05 # Parent 942d4cfc2538c53fcef7948f2535ef18231c7b72 Sort out how to set percentage graph height thanks to http://callmejack.wordpress.com/2006/10/14/100-height-with-css/ diff -r 942d4cfc2538 -r faacb77ce8f4 static/iwws.css --- a/static/iwws.css Mon Aug 15 19:05:23 2011 +0930 +++ b/static/iwws.css Mon Aug 15 22:14:08 2011 +0930 @@ -1,3 +1,6 @@ +html, body, #jqt, #home, #container { + height : 100%; +} div.legend { font-size: x-small; } @@ -6,13 +9,12 @@ font-size: x-small; } -#graph1 { +div#graph1 { width: 100%; - /* can't do height 50% .. results in 0px height */ - height: 180px; + height: 45%; } -#graph2 { +div#graph2 { width: 100%; - height: 180px; + height: 45%; }