Mercurial > ~darius > hgwebdir.cgi > iwws
diff static/iwws.css @ 4:faacb77ce8f4
Sort out how to set percentage graph height thanks to
http://callmejack.wordpress.com/2006/10/14/100-height-with-css/
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 15 Aug 2011 22:14:08 +0930 |
parents | 4385563d45e7 |
children | f859bcb451ca |
line wrap: on
line diff
--- 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%; }