diff options
author | Blanksøgård <web-bsg@coreander.jones.dk> | 2007-10-28 20:34:28 +0100 |
---|---|---|
committer | Blanksøgård <web-bsg@coreander.jones.dk> | 2007-10-28 20:34:28 +0100 |
commit | 4e0a0c2d0280949bf41abe47305d5519d3c03fd7 (patch) | |
tree | fc9cafbade3450ec062629f16152bd05c62baea0 | |
parent | 8e98fea85c79998eb3d44f5b45f8fc616cffc1ff (diff) |
Fix sidebar and content side-by-side (not filling more than 100% across). Space before arguments.
-rw-r--r-- | local.css | 35 |
1 files changed, 15 insertions, 20 deletions
@@ -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; } |