From a9593ad45e65914a21cb5b2952cb12e0044c2849 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Sun, 17 Nov 2013 17:23:16 +0000 Subject: more layout fixes --- forecast.html.tt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/forecast.html.tt b/forecast.html.tt index 2fdc7d7..0decb3b 100644 --- a/forecast.html.tt +++ b/forecast.html.tt @@ -45,7 +45,7 @@ div.currently, div.next-hour, div.next-day, div.next-week { width: 24%; - position: fixed; top: 5px; + position: absolute; top: 5px; } div.currently { left: 5px } @@ -54,7 +54,7 @@ div.next-week { right: 5px } div.today { - position: fixed; top: 8em; left: 5px; + position: absolute; top: 8em; left: 5px; float: left; clear: none; width: 40%; margin-right: 5px; @@ -64,10 +64,13 @@ dl.today dt.sunrise, dl.today dt.sunset { display: inline } div.bus { - position: fixed; left: 40%; top: 10em; + position: absolute; left: 38%; top: 10em; } + + div.bus td.destination { width: 5em } + div.tube { - position: fixed; left: 5px; bottom: 5px; + position: absolute; left: 5px; top: 20em; width: 75%; } @@ -76,7 +79,7 @@ div.tube td.status { width: 8em } div.tube td.details { width: 10em } - div.timeline { position: fixed; right: 5px; bottom: 5px; } + div.timeline { position: absolute; right: 5px; bottom: 5px; } div.timeline table { font-size: 75% } .stripes { -- cgit v1.2.3