Center Header Nav Links Under Header

Sep 02, 2008 13:20

I tried to look here to see if this might solve my problem but, alas, I'm utterly horrible at coding and I couldn't get it to work. Graphics I can do. Coding...not so much. So what I was trying to do was center the header's navigation links underneath the header I designed OR I could take the header's navigation links and move them to the side bar. Either/or, I'm not picky. I just don't want it looking horrible anymore. Side note: My sidebar looks completely wonky. I will paste what codes I'm using here:

* {margin: 0px; padding: 0px; }

html {font-size: 100%; /* IE hack */ }

body {
background: #F6EDD1;
color: #756754;
font-family: "Lucida Grande", "Lucida Sans Unicode", "trebuchet ms", candara, helvetica, verdana, arial, tahoma, sans-serif;
font-size: 62.5%;
text-align: center;
}

a, a:link, a:visited, a:active {color: #6D819A; font-weight: normal; text-decoration: none; outline: none;}
a:hover {color: #C6A34E;}

blockquote {margin: 0.8em 3em; padding: 10px 10px 10px 40px; border: 1px solid #E8D7A3; background: url(http://img.photobucket.com/albums/v388/grrliz/other/layouts/free/51_blockquote.gif) 10px 10px no-repeat #FCF4DB; font-size: 1.2em;}

input, textarea, select {}

h1, h2, h3 {font-weight: normal;}

font {font-family: inherit !important; color: inherit !important;}

/* ----------------------------------------- */
/* ---------- PAGE STRUCTURE --------------- */
/* ----------------------------------------- */

/* -- don't touch the stuff below -- */
#page, #header, #content, #footer {position: relative; top: 0;}
#alpha, #beta, #gamma {display: inline; float: left; position: relative; top: 0;}
#footer {margin: -1px 0 0 0; /* HACK - removes space between content and footer */}
#page-inner, #header-inner, #content-inner, #alpha-inner, #beta-inner, #gamma-inner, #footer-inner {position: static;}
#header-inner, #alpha-inner, #beta-inner, #gamma-inner {overflow: hidden; /* hide content that is larger than the element dimensions */}
#alpha-inner[id] { overflow: visible; } /* FF MAC & PC will clip pager-top when accessing page anchor */
/* -- don't touch the stuff above -- */

#container {margin: 1px auto; background: url(NO IMAGE) 50% 30px repeat-x transparent; font-size: 1em; text-align: left;}
#container-inner {min-height: 100%; text-align: left;}

#page {padding: 0px;}

#header {position: relative; height: 300px; background: url(http://i98.photobucket.com/albums/l276/js16977/all%20my%20keane/keaneforronnie2.png) top center no-repeat transparent; border-bottom: 1px solid #EADCB1;}
#header-inner {}

#content {width: 80%; max-width: 700px; margin: 0px auto; padding-top: 20px; text-align: left;}

#alpha {width: 70%;}
.layout-tw #alpha {float: right;}
.layout-wt #alpha {float: left;}
#beta {width: 30%;}
.layout-wt #beta {float: right;}
.layout-tw #beta {float: left;}
.layout-wt #beta-inner {padding-left: 2em;}
.layout-tw #beta-inner {padding-right: 2em;}

#footer {clear: both; margin-top: 2em; padding-bottom: 20px; border-top: 1px solid #EADCB1; background: url(http://img.photobucket.com/albums/v388/grrliz/other/layouts/free/51_bluegradient.gif) bottom center repeat-x transparent;}
#footer-inner {padding: 50px 0px; border-bottom: 1px solid #6D819A; background: url(none) left -20px repeat-x transparent;}

/* ---------------------------- */
/* ---------- HEADER ---------- */
/* ---------------------------- */
#header-content {overflow: hidden; text-transform: lowercase;}

#header-text {position: relative; width: 80%; max-width: 700px; height: 300px; margin: 0px auto;}
#header-text ul.nav {}
#header-text ul.nav li {display: inline; float: left;}
#header-text ul.nav li a {display: block; padding: 0px 10px; color: #FCF4DB; line-height: 30px;}
#header-text ul.nav li a:hover {background: #A0B5D0;}
#header-text ul.nav li.current a {}

#header-name {text-align: right; line-height: 30px;}
#header-name a {color: #FCF4DB;}

#header-description {display: none;}

/* ----------------------------- */
/* ---------- ENTRIES ---------- */
/* ----------------------------- */

/* previous and next links */
.stream-header {display: none;}
.stream-footer {clear: both; display: block; text-align: left; text-transform: lowercase;}

/* entry container */
.asset {position: relative; margin-bottom: 2em;}
.asset a img {}
.asset a:hover img {}

.asset-header {}
.lj-view-entry .asset-header {padding: 0; }

/* entry subject */
h2.page-header2 {padding-bottom: 0.2em; border-bottom: 1px solid #E8D7A3; font-size: 1.3em; font-weight: bold; text-transform: uppercase;}
h2.page-header2 a, .lj-view-tags h2 {text-decoration: none;}

.lj-view-entry h2.page-header2 {padding: 1em 0 0.2em 0;}

/* entry body, meta, tags */
.asset-content {}

/* entry text */
.asset-body {line-height: 1.5em; overflow-x: hidden;}
.asset-body a {text-decoration: underline; font-weight: bold;}
.asset-body ol, .asset-body ul {margin: 10px 40px;}
.asset-body dt {padding: 5px 0px; border-bottom: 1px solid #E8D7A3; font-weight: bold; text-transform: uppercase;}
.asset-body dd {margin-left: 30px; padding: 10px; background: #FCF4DB; border: 1px solid #E8D7A3; border-top: 0px;}

.ljuser {display: inline !important;}
.ljuser a {background: transparent; color: #6D819A;}

/* userpic */
.user-icon {float: right; text-align: center;}
.user-icon img {border: 2px solid #6D819A;}

/* mood, music, location */
.lj-currents ul {padding-top: 1em; list-style-type: none; text-transform: lowercase;}
.lj-currents ul li {display: inline; padding-right: 2em;}
.lj-currents span.entryMetadata-label {padding-right: 0.5em; font-weight: bold;}

/* --- tags --- */
.asset-tags {padding-top: 1em; text-transform: lowercase; padding-top: 3px;}
.asset-tags-header {display: block; float: left; width: 3em; /* matches .asset-tags-content width */ height: 100% !important; padding: 0px 5px 5px 0px; font-size: 1em !important;}
.asset-tags ul {list-style-type: none;}
.asset-tags-list {margin: 0 0 0 3em; list-style-type: none;}
.asset-tags-list li {display: inline; padding-right: 5px;}
.asset-tags-list a {white-space: normal !important;}
.asset-tags-list a:hover {text-decoration: underline}

/* comments bar */
ul.asset-meta-list {height: 30px; margin-top: 1em; background: url(http://img.photobucket.com/albums/v388/grrliz/other/layouts/free/51_bluegradient.gif) top center repeat-x transparent; text-transform: lowercase; text-align: left;}
ul.asset-meta-list .item {display: inline; adding-right: 1.5em;}
li.asset-meta-comments {margin: 0px;}
li.asset-meta-comments a {display: block; float: left; padding: 0px 8px; color: #FCF4DB; line-height: 30px;}
li.asset-meta-comments a:hover {background: #A0B5D0;}

.prevnext, .prev, .next {padding: 5px 0px;}

/* date and time */
div.asset-header ul.asset-meta-list {margin: 0px !important; padding: 0!important; background: none !important; font-size: 11px; text-align: right; list-style-type: none;}
div.asset-header ul.asset-meta-list .item {display: block; float: right; padding: 0.5em; border: 1px solid #E8D7A3; border-top: 0px; background: #FCF4DB;}

/* ----------------------------- */
/* ---------- SIDEBAR ---------- */
/* ----------------------------- */

.widget {margin-bottom: 2em; border-top: 1px solid #E8D7A3;}
.widget-inner {}

.widget-header {display: block; float: left; margin: 0px; padding: 0.5em 3em 0.5em 0.5em; border: 1px solid #E8D7A3; border-top: 0px; background: #FCF4DB; color: #6D819A; font-size: 1em; text-transform: uppercase;}
.widget-content {clear: both; padding-top: 0.5em; font-size: 1.1em;}
.widget-footer {}

.widget ul {margin: 0px; padding: 0px 0px 0px 15px; color: #C6A34E; list-style-type: circle;}

/* profile */
.about-me-widget .widget-header a {font-weight: bold;}
.about-me-widget .widget-content {position: relative;}
.about-me-widget .widget-content .user-pic {margin-top: 10px;}
.about-me-widget dl.profile-list {position: absolute; top: 10px; left: 110px; font-size: 1.2em;}
.about-me-widget dd {padding: 3px 0px;}
.about-me-widget dd.profile-username {text-transform: uppercase;}
.about-me-widget dd.profile-name a {font-weight: bold; text-decoration: underline;}

/* calendar */
.calendar-widget {}
.calendar-widget table {margin-left: -5px; font-size: 11px; text-align: center; }
.calendar-widget th,
.calendar-widget td {margin: 0px; padding: 0px; width: 21px; height: 21px; text-align: center;}
.calendar-widget td a {display: block; width: 21px; background: url(http://img.photobucket.com/albums/v388/grrliz/other/layouts/free/51_calendardots.gif) 0px 0px no-repeat; line-height: 21px; text-align: center;}
.calendar-widget td a:hover {background: url(http://img.photobucket.com/albums/v388/grrliz/other/layouts/free/51_calendardots.gif) -21px 0px no-repeat; color: #FCF4DB;}
.calendar-widget p {margin: 0px; padding: 0px;}
.calendar-widget tr:first-child td {border: 0px;}
.calendar-widget tr:first-child a,
.calendar-widget tr:first-child a:hover {width: 100%; background: none; color: #6D819A; font-weight: bold;}

/* link list and tags */
.typelist-widget li.item,
.categories-widget li.item {}
.categories-widget .widget-footer {padding-top: 1em;}

/* custom text */
.customtext-widget .widget-content {line-height: 1.8em;}

/*syndication */
.syndicate-widget img {margin-top: 5px;}

/* powered by livejournal */
.powered-widget {display: none; padding-top: 3em;}
.powered-widget .widget-content {overflow: hidden; font-size: 12px;}
.powered-widget a {font-weight: bold; text-decoration: underline;}

/* designed by */
/* leave this turned off otherwise it will credit someone else with the design */
.designed-widget {display: none;}

/* ----------------------------------- */
/* ---------- COMMENTS PAGE ---------- */
/* ----------------------------------- */

/* Comments ---------------------------------------*/
#comments {padding: 0px;}

div.comments-inner h2 {margin: 0px; font-weight: normal;}

.comment {position: relative; min-height: 130px; margin-bottom: 3em; padding: 0px; border-top: 1px solid #E8D7A3; border-bottom: 1px solid #E8D7A3;}
.comment-odd {}
.comment-even {padding: 1em; background: #FCF4DB;}

.comments-nav {margin: 0px 0px 20px 0px; text-align:center;}

.comment-meta {padding: 5px 0px;}
.comment-meta .user-icon {position: relative; float: right; display: inline; padding: 0px 0px 10px 10px;}
.comment-meta .commenter-name {font-size: 1.3em;}

/* --- reply, freeze, screen, etc --- */
.comment-links {margin-top: 0.9em; font-weight: normal; text-align: right; font-size: 1em;}
.comment-subject {font-weight: bold; }
.comment-date {margin-top: 0.9em; margin-bottom: 0.9em;}

/* Fix height in IE */
.comment {height: 1%;}

/* Quick Reply ---------------------------------------*/
.quickreply {margin-top: 1em; width: 90% !important; padding-top: 5px; padding-bottom: 10px;}

#commenttext, #subject {width: 80%; }
#comment-form {width: 500px;}

/* ------------------------------ */
/* ---------- ARCHIVES ---------- */
/* ------------------------------ */

/* Calendar/Archive ---------------------------------------------------------------------- */

ul.year {text-align: center; padding: 0px;}
ul.year li {display: inline; padding: 0px 5px;}

table.yeartable {width: 100%; margin-left: auto; margin-right: auto;}
table.yeartable td.yeardate, table.yeartable td.yearday {padding: 5px; border: 1px solid #E8D7A3;}
table.yeartable td.yearday {background-color: #FCF4DB; text-align: center;}
td.yearmonth {border-style: none; font-weight: bold; text-transform: uppercase;}
td.yeardate a {font-size: 1.5em; text-decoration: none;}

dd.viewsubjects {margin: 0 0 .75em .75em;}

.lj-view-archive #alpha, .lj-view-month #alpha {font-size: 1.2em;}
.lj-view-archive .asset-header, .lj-view-month .asset-header {margin: 0px; border: 0px; padding: 0px;}
.lj-view-archive .asset-body, .lj-view-month .asset-body {margin: 0px; border: 0px; padding: 10px 0px;}

.lj-view-month widget table {margin: 0px !important;}

.lj-view-tags #alpha ul {margin: 10px 0px 10px 20px; font-size: 1.2em;}
.lj-view-tags #alpha ul li {padding: 2px 0px;}

/* -------------------------- */
/* ---------- MISC ---------- */
/* -------------------------- */

/* Sponsored Plus ---------------------------------------*/

#ad-5linkunit {
clear: both;
}

#ad-leaderboard {
margin-bottom: 10px;
}

/* Utility Code --------------------------------------------------- */

/* clear floats, inspired by positioniseverything.net/easyclearing.html */
.comment-body:after,
#page-inner:after,
#header-inner:after,
#header-photo:after,
#content-inner:after,
#alpha-inner:after,
#beta-inner:after,
#gamma-inner:after,
#delta-inner:after,
#footer-inner:after,
.widget .user-pic:after {
content: ".";
display: block;
visibility: hidden;
clear: both;
height: 0.1px;
font-size: 0.1em;
line-height: 0.1px;
}

/* float in post bodies around enclosures */
#content-inner,
.asset-body {
height: 1%;
}

/* Win IE < 7 */
* html #header-name a { word-wrap: break-word; }

/* ---------------------------------------- */
/* ---------- CONTEXTUAL POP-UPS ---------- */
/* ---------------------------------------- */

div.ContextualPopup div.Inner {padding: 5px; border: 1px solid #E8D7A3; background: #FCF4DB !important; color: #756754 !important; text-align: left;}
div.ContextualPopup div.Inner a, div.ContextualPopup div.Inner a:visited {color: #6D819A !important; font-weight: bold !important; text-decoration: none !important; font-weight: normal;}
div.ContextualPopup div.Inner a:hover {color: #C6A34E !important; text-decoration: underline;}
div.ContextualPopup .Relation, div.ContextualPopup .Content .OnlineStatus {color: #756754 !important; font-weight: bold !important;}

/* ---------------------
PLEASE PASTE ANY FURTHER
CSS OVERRIDES BELOW HERE
--------------------- */

I'm working on a plus account, I use Mozilla Firefox (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1). The template I'm working on is "Mixit." My header is 700 x 300. Here is a link to the journal I'm working on.

Thanks in advance for your help!

header:nav links:placement, sidebar:headers, header:nav links

Previous post Next post
Up