From 994f7d04aa10c86a41c620f3151771cbec3a0564 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Wed, 21 Sep 2016 15:01:55 +0200 Subject: [PATCH] Fixed styling on weather data --- scripts/addWeatherInfo.js | 2 +- style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/addWeatherInfo.js b/scripts/addWeatherInfo.js index 786b773..7312de8 100644 --- a/scripts/addWeatherInfo.js +++ b/scripts/addWeatherInfo.js @@ -11,5 +11,5 @@ $.get('weatherData.txt', function(data) { document.getElementById("weatherTempValue").innerHTML = "

Temperatur

" + weatherData[2] + '°

'; document.getElementById("weatherRainfall").innerHTML = "

Nedbør

" + weatherData[3] + '

'; document.getElementById("weatherWind").innerHTML = "

Vind

" + weatherData[5] + '

'; - document.getElementById("weatherWindDirection").innerHTML = "

Vind rettning

" + weatherData[6] + '

'; + // document.getElementById("weatherWindDirection").innerHTML = "

Vind rettning

" + weatherData[6] + '

'; }); \ No newline at end of file diff --git a/style.css b/style.css index 13ef4f1..4a2b1c1 100644 --- a/style.css +++ b/style.css @@ -48,7 +48,7 @@ html, body { } .weatherData { - width: 50%; + width: 80%; float:right; text-align: left; padding-left: 15px;