Hi all,
I've got this problem that I just can't figure out at all...
I've got this site that also connects to a (tumblr) blog which I've customised and I'm unable to get the navigation text to align on the blog & the main site.
I have totally removed the left margin\padding from the navigation in the blog's CSS but I just cant get the navigation links to move to the left?
The blog page is here
This is the CSS but the blog page has embedded CSS too
The home page is here This is how I want it to be on the blog pageCode:html,body{height:100%; font-family: Arial, Helvetica, sans-serif; } #wrapper { border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; width: 900px; margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; } #title { width: 850px; margin-top: 19px; margin-right: auto; margin-bottom: 0; margin-left: auto; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 36px; color: #000066; font-weight: bold; text-align: left; /* for ie5.5/win */ } #banner { width: 900px; } #navigation { background-image: url(../images/nav-bg.jpg); width: 900px; font-weight:bold; font-size:15px; background-repeat: no-repeat; margin-top: -1px; margin-bottom: 0; margin-right: auto; margin-bottom: 0; margin-left: 0; height: 25px; font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; padding-top: 2px; padding-left: 0px; padding-bottom: 5px; } #navigation a { color: #FFFFFF; } #main_column{ position:relative; width:800px; margin-left:10px; margin-right:0px; margin-bottom:0px; } #bottombanner { background-image: url(../images/bottom-grass.jpg); background-position: top; height: 200px; background-repeat: no-repeat; }
This is the CSS
ThanksCode:@charset "utf-8"; /* CSS Document */ * {/* for demo only*/ margin:0; padding:0 } html, body { height:100%;/* needed to base 100% height on something known*/ text-align:center; } body {overflow-y: scroll;} #outer { border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; width: 900px; margin:auto; min-height:100%; margin-top:-123px;/*footer height - this drags the outer 40px up through the top of the monitor */ text-align:left; } #aouter { border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; width: 900px; margin:auto; min-height:100%; margin-top:-315px;/*footer height - this drags the outer 40px up through the top of the monitor */ text-align:left; } #douter { border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; width: 900px; margin:auto; min-height:100%; margin-top:-227px;/*footer height - this drags the outer 40px up through the top of the monitor */ text-align:left; } #louter { border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; width: 900px; margin:auto; min-height:100%; margin-top:-220px;/*footer height - this drags the outer 40px up through the top of the monitor */ text-align:left; } * html #outer { height:100% } h1 { font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 36px; color: #000066; font-weight: bold; } #header { border-top:123px solid #fff; /* soak up negative margin and allows header to start at top of page*/ } #aheader { border-top:315px solid #fff; /* soak up negative margin and allows header to start at top of page*/ } #dheader { border-top:227px solid #fff; /* soak up negative margin and allows header to start at top of page*/ } #lheader { border-top:220px solid #fff; /* soak up negative margin and allows header to start at top of page*/ } #navigation { background-image: url(../images/nav-bg.jpg); width: 900px; font-weight:bold; font-size:15px; background-repeat: no-repeat; margin-top: 5px; margin-right: auto; margin-bottom: 0; margin-left: auto; height: 25px; font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; padding-top: 2px; padding-left: 25px; padding-bottom: 5px; } #title { width: 850px; padding-top: 10px; padding-bottom: 20px; margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; } #main_content{ width:680px; margin-right:0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #000000; margin-left: 45px; } #pmain_content{ width:680px; background-image: url(../images/flying-geese.png); background-position: left top; background-repeat: no-repeat; margin-right:0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #000000; margin-left: 45px; } #footer {/* footer now sits at bottom of window*/ background-image: url(../images/bottom-grass.jpg); background-position: center bottom; height: 123px; background-repeat: no-repeat; width:900px; margin:auto; border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; clear:both; } #pfooter {/* footer now sits at bottom of window*/ background-image: url(../images/bottom-grass-pigeon.jpg); background-position: center bottom; height: 123px; background-repeat: no-repeat; width:900px; margin:auto; border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; clear:both; } #afooter {/* footer now sits at bottom of window*/ background-image: url(../images/angling-footer.jpg); background-position: center bottom; height: 315px; background-repeat: no-repeat; width:900px; margin:auto; border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; clear:both; } #dfooter {/* footer now sits at bottom of window*/ background-image: url(../images/bottom-grass-deer.jpg); background-position: center bottom; height: 227px; background-repeat: no-repeat; width:900px; margin:auto; border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; clear:both; } #lfooter {/* footer now sits at bottom of window*/ background-image: url(../images/lamping-footer.jpg); background-position: center bottom; height: 220px; background-repeat: no-repeat; width:900px; margin:auto; border-left: 1px solid #0e4700; border-right: 1px solid #0e4700; clear:both; } /*Opera Fix*/ body:before {/* thanks to Maleika (Kohoutec)*/ content:""; height:100%; float:left; width:0; margin-top:-32767px;/* thank you Erik J - negate effect of float*/ } #outer:after {/* thank you Erik J - instead of using display table for ie8*/ clear:both; display:block; height:1%; content:" "; } .conduct { background-color: #CCCCCC; margin-left: 45px; padding-left: 35px; padding-top: 15px; padding-bottom: 15px; } a { text-decoration: none; } a:hover { text-decoration:underline; } #navigation a { color: #FFFFFF; }.subtitle { font-family: Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; color: #216d12; } h1 { font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 36px; font-weight: bold; color: #000066; }









Bookmarks