diff options
author | P. J. McDermott <pjm@nac.net> | 2012-05-27 00:48:50 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-05-27 00:48:50 (EDT) |
commit | 049b64b64061457618e0438826ed684a972782fc (patch) | |
tree | c2bb3f43c68b466914edc3c0e92faa1bd5b7e67e | |
parent | 37694baf02f952bdb99158d52274b069bd3bd99f (diff) |
Clean up main/sidebar/body divs.
-rwxr-xr-x | includes/footer.html | 1 | ||||
-rwxr-xr-x | includes/header.html | 11 | ||||
-rw-r--r-- | main.css | 19 |
3 files changed, 15 insertions, 16 deletions
diff --git a/includes/footer.html b/includes/footer.html index ec33826..7187ed0 100755 --- a/includes/footer.html +++ b/includes/footer.html @@ -1,3 +1,4 @@ + </div> </div> <div class="footer"> <p class="copyright"> diff --git a/includes/header.html b/includes/header.html index dda5024..d48da23 100755 --- a/includes/header.html +++ b/includes/header.html @@ -23,14 +23,13 @@ </ul> </div> </header> - <div class="wrapper sidebar"> - <div> + <div class="main"> + <div class="sidebar"> <h2>News</h2> <ul> <!--#include file="news.html" --> </ul> </div> - </div> - <div class="wrapper main"> - <a id="body"></a> - <h1><!--#echo var="pagetitle" --></h1> + <div class="body"> + <a id="body"></a> + <h1><!--#echo var="pagetitle" --></h1> @@ -82,26 +82,25 @@ header div.nav ul li a:hover { color: #CCCC33; } -div.wrapper div { +div.main { + margin: 16px 24px 16px 24px; +} +div.sidebar { + float: right; border: 2px solid #333333; - margin: 8px; + width: 300px; } -div.wrapper div h3 { +div.sidebar h3 { background-color: #333333; color: #FFFFFF; padding: 2px; } -div.wrapper div p, div.wrapper div ul { +div.sidebar p, div.sidebar ul { padding: 8px; } - -div.main { +div.body { margin-right: 292px; } -div.sidebar { - float: right; - width: 300px; -} footer { margin: 8px; |