dyers78
03-05-2007, 08:48 PM
Thanks to all who have been helping me out.
I got my includes to work and this the first pure css site I have done so please be patient as I learn.
My page is looking great in firefox and safari but IE is breaking it up. It's making the header way too tall and pushing the navigation to the next line under the main box instead of the right side.
Here is the css:
body {background-color: #fff; background-image: url(../img/SiteWide/MainBG.gif); background-repeat: repeat-x;}
h1 {font: normal 13pt Arial san-serif; color: #0E2F80; line-height: 12pt}
p {font-family: Arial san-serif; font-size: 10pt; color: #999; line-height: 11pt; }
select {font-family: Arial san-serif; font-size: 9pt; color: #999}
/*general navigation links */
a:link { color: #999 ; text-decoration: none;}
a:visited { color: #999; text-decoration: none;}
a:hover { color: #0e2f80; text-decoration: underline}
a:active { color: #0e2f80; text-decoration: underline}
/* main container centering all content*/
#main {width: 900px; margin-top: 15px; margin-left: auto; margin-right: auto; text-align: left;}
/* container holding left content inside the main container*/
#container {float: left; width: 698px; background-color: #fff; border: 1px solid #999; text-align: left}
/* heading */
#heading {width: 100%; height: 120px;}
#leftheading {width: 40%; height: 115px; float: left;}
#leftheading h1 {padding: 18px 0 15px 21px;}
#quickLinks {width: 100%; padding-left: 21px;}
/* header navigation */
#headnav {width: 60%; height: 115px; float: right; text-align: right;}
#headnav ul {margin: 0; padding: 93px 15px 0 0;}
#headnav li {display: inline; list-style-type: none}
#headnav li a {padding: 7px 10px; font: normal 10pt Arial san-serif;}
#headnav li a:link {color: #d12c1d; text-decoration: none;}
#headnav li a:visited {color: #d12c1d; text-decoration: none;}
#headnav li a:hover {color: #999; text-decoration: underline;}
#headnav li a:active {color: #999; text-decoration: underline;}
/* highlighted stories */
#flashMovie {width: 99%; height: 300px; margin: 4px; border-bottom: solid 1px #999; border-top: 1px solid #999}
/* overall container for focus group news boxes */
#news {float: left; width: 100%; margin: 4px;}
#news a {font: normal 8pt Arial san-serif;}
#news a:link { color: #d12c1d; text-decoration: none;}
#news a:visited {color: #d12c1d; text-decoration: none;}
#news a:hover {color: #999; text-decoration: underline;}
#news a:active {color: #999; text-decoration: underline}
#news h1 {text-align: left; font: bold 8pt Arial san-serif; color: #0e2f80; line-height: 9pt}
#news p {font: normal 8pt Arial san-serif; line-height: 11pt; color: #999; padding-right: 15px; height: 60px; }
/* successful children and youth box*/
#children {width: 24%; height: 130px; float: left; border-right: 1px solid #999;}
/* caring community box */
#community {width: 24%; height: 130px; float: left; border-right: 1px solid #999; padding-left: 4px; }
/* strong box */
#families {width: 24%; height: 130px; float: left; border-right: 1px solid #999; padding-left: 4px;}
/* healthy self reliant people box */
#reliantPeople {width: 24%; height: 130px; float: left; padding-left: 4px;}
/* mission */
#mission {float: left; width: 99%; margin: 4px auto 4px auto; padding: 0; border-top: 1px solid #999}
#mission img {padding:28px 0 0px 18px}
/* container holding main navigation */
#nav {float: left; width: 190px;}
#nav img {margin: 0; padding: 15px 0 35px 30px;}
#nav ul {margin: 0; padding: 0 0 0 30px; }
#nav li {list-style-type: none; font: bold 8pt Arial san-serif; color: #0e2f80}
#nav li a {line-height: 12pt; font-weight: normal }
#nav li a:link {color: #0e2f80; text-decoration: none;}
#nav li a:visited {color: #0e2f80; text-decoration: none;}
#nav li a:hover {color: #999; text-decoration: none;}
#nav li a:active {color: #999; text-decoration: none;}
.mainnavtitles {padding: 10px 0 5px 0;}
/* container holding footer */
#footer { float: left; border: 1px solid #999; text-align: left; width: 698px; margin-top: 5px;}
#footer p {font-family: Arial; font-size: 7pt; color: #999; padding-left: 25px}
can you see anything at all that would be causing this? my first though is that the margins are too tight? Perhaps I need more room for errors. I am going top play with this but if you see aomething that looks out of sorts please let me know.
I got my includes to work and this the first pure css site I have done so please be patient as I learn.
My page is looking great in firefox and safari but IE is breaking it up. It's making the header way too tall and pushing the navigation to the next line under the main box instead of the right side.
Here is the css:
body {background-color: #fff; background-image: url(../img/SiteWide/MainBG.gif); background-repeat: repeat-x;}
h1 {font: normal 13pt Arial san-serif; color: #0E2F80; line-height: 12pt}
p {font-family: Arial san-serif; font-size: 10pt; color: #999; line-height: 11pt; }
select {font-family: Arial san-serif; font-size: 9pt; color: #999}
/*general navigation links */
a:link { color: #999 ; text-decoration: none;}
a:visited { color: #999; text-decoration: none;}
a:hover { color: #0e2f80; text-decoration: underline}
a:active { color: #0e2f80; text-decoration: underline}
/* main container centering all content*/
#main {width: 900px; margin-top: 15px; margin-left: auto; margin-right: auto; text-align: left;}
/* container holding left content inside the main container*/
#container {float: left; width: 698px; background-color: #fff; border: 1px solid #999; text-align: left}
/* heading */
#heading {width: 100%; height: 120px;}
#leftheading {width: 40%; height: 115px; float: left;}
#leftheading h1 {padding: 18px 0 15px 21px;}
#quickLinks {width: 100%; padding-left: 21px;}
/* header navigation */
#headnav {width: 60%; height: 115px; float: right; text-align: right;}
#headnav ul {margin: 0; padding: 93px 15px 0 0;}
#headnav li {display: inline; list-style-type: none}
#headnav li a {padding: 7px 10px; font: normal 10pt Arial san-serif;}
#headnav li a:link {color: #d12c1d; text-decoration: none;}
#headnav li a:visited {color: #d12c1d; text-decoration: none;}
#headnav li a:hover {color: #999; text-decoration: underline;}
#headnav li a:active {color: #999; text-decoration: underline;}
/* highlighted stories */
#flashMovie {width: 99%; height: 300px; margin: 4px; border-bottom: solid 1px #999; border-top: 1px solid #999}
/* overall container for focus group news boxes */
#news {float: left; width: 100%; margin: 4px;}
#news a {font: normal 8pt Arial san-serif;}
#news a:link { color: #d12c1d; text-decoration: none;}
#news a:visited {color: #d12c1d; text-decoration: none;}
#news a:hover {color: #999; text-decoration: underline;}
#news a:active {color: #999; text-decoration: underline}
#news h1 {text-align: left; font: bold 8pt Arial san-serif; color: #0e2f80; line-height: 9pt}
#news p {font: normal 8pt Arial san-serif; line-height: 11pt; color: #999; padding-right: 15px; height: 60px; }
/* successful children and youth box*/
#children {width: 24%; height: 130px; float: left; border-right: 1px solid #999;}
/* caring community box */
#community {width: 24%; height: 130px; float: left; border-right: 1px solid #999; padding-left: 4px; }
/* strong box */
#families {width: 24%; height: 130px; float: left; border-right: 1px solid #999; padding-left: 4px;}
/* healthy self reliant people box */
#reliantPeople {width: 24%; height: 130px; float: left; padding-left: 4px;}
/* mission */
#mission {float: left; width: 99%; margin: 4px auto 4px auto; padding: 0; border-top: 1px solid #999}
#mission img {padding:28px 0 0px 18px}
/* container holding main navigation */
#nav {float: left; width: 190px;}
#nav img {margin: 0; padding: 15px 0 35px 30px;}
#nav ul {margin: 0; padding: 0 0 0 30px; }
#nav li {list-style-type: none; font: bold 8pt Arial san-serif; color: #0e2f80}
#nav li a {line-height: 12pt; font-weight: normal }
#nav li a:link {color: #0e2f80; text-decoration: none;}
#nav li a:visited {color: #0e2f80; text-decoration: none;}
#nav li a:hover {color: #999; text-decoration: none;}
#nav li a:active {color: #999; text-decoration: none;}
.mainnavtitles {padding: 10px 0 5px 0;}
/* container holding footer */
#footer { float: left; border: 1px solid #999; text-align: left; width: 698px; margin-top: 5px;}
#footer p {font-family: Arial; font-size: 7pt; color: #999; padding-left: 25px}
can you see anything at all that would be causing this? my first though is that the margins are too tight? Perhaps I need more room for errors. I am going top play with this but if you see aomething that looks out of sorts please let me know.