From 4e0a0c2d0280949bf41abe47305d5519d3c03fd7 Mon Sep 17 00:00:00 2001 From: Blanksøgård Date: Sun, 28 Oct 2007 20:34:28 +0100 Subject: Fix sidebar and content side-by-side (not filling more than 100% across). Space before arguments. --- local.css | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/local.css b/local.css index 98be3d7..c5dabf6 100644 --- a/local.css +++ b/local.css @@ -2,44 +2,39 @@ /* Add local styling here, instead of modifying style.css. */ -/* sidebar left (not right) */ - body { background-color: darkgrey; } #container { - background-color:white; - border-style:solid; - border-width:2px; - margin:10px 12%; + background-color: white; + border-style: solid; + border-width: 2px; + margin: 10px 12%; } #sidebar { float: left; margin-left: 5%; - margin-right: 40px; - width: 25% + width: 25%; + padding: 0px; } #sidebar ul { - margin:0px; - padding:0px; + margin: 0px; + padding: 0px; } #sidebar ul li, #sidebar ul li a { - color:orange; - line-height:2; - list-style-type:none; - text-decoration:none; + color: orange; + line-height: 2; + list-style-type: none; + text-decoration: none; } #sidebar ul li a:hover { - text-decoration:underline; + text-decoration: underline; } #content { - line-height: 3ex; - width: 70%; float: right; - margin-left: 40px; - margin-bottom: 40px; - padding: 2ex 2ex; + width: 70%; + line-height: 3ex; } -- cgit v1.2.3