CodeGuy
05-11-2008, 02:17 AM
Code People!
My page works ok with FireFox in both PC and Mac, but on IE 6 Windows the menu on the right drops down out of place. (On Mac IE 5 I'm getting an entirely different problem - the container DIV in not centering, but my 1st priority is to solve the IE 6 on Windows)
Please take a peek with FireFox(works) and IE (doesn't work) at:
http://circledigital.com/AngelinaRef/AngelinaRef.html
I understand that IE6 has mucho bugs, but I haven't yet found those little buggers that are doing this. Any help would be much appreciated.
Here is the CSS, followed by my HTML:
body {
background-color: #529cc4;
background-image: url(../images/BkGrndImg.jpg);
background-repeat: repeat-x;
margin: 0 auto;
text-align: center;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666666; }
#container {
width: 765px;
margin: 0 auto;
background-color: #ffffff;
overflow:hidden;
}
#header {
width: 765px;
height: 170px;
background-image: url(../images/Banner.jpg);
margin: 0 auto;
}
#navcontainer {
margin-left: 559px;
width: 206px;
height: 300px; }
#navcontainer ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
margin: 0 auto;
}
a.BtnHome {
display: block;
width: 206px;
height: 33px;
background: url(../images/Btn_Home.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnHome {
background-position: 0 -33px;
}
a.BtnClass {
display: block;
width: 206px;
height: 28px;
background: url(../images/Btn_Classes.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnClass {
background-position: 0 -28px;
}
a.BtnCal {
display: block;
width: 206px;
height: 27px;
background: url(../images/Btn_Cal.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnCal {
background-position: 0 -27px;
}
a.BtnBio {
display: block;
width: 206px;
height: 27px;
background: url(../images/Btn_Bio.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnBio{
background-position: 0 -27px;
}
a.BtnContact {
display: block;
width: 206px;
height: 27px;
background: url(../images/Btn_Contact.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnContact{
background-position: 0 -27px;
}
a.BtnFoot {
display: block;
width: 206px;
height: 54px;
background: url(../images/Btn_Foot.jpg) no-repeat 0em 0em;
text-decoration: none;
}
#content {
text-align: left;
width: 500px;
margin: 0em auto +0px auto;
float: left;
padding-right: 10px;
padding-left: 30px;
padding-bottom: 10px; }
#footer {
clear:both;
width: 765px;
margin: 0 auto;
color: #ebebeb;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
text-align: center;
padding: 10px; }.TitleFont {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #9dbc3d;
font-size: 16px;
font-weight: bold;
}
.MainTxt {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666666;
}
Here is the HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Angelina's Yoga</title>
<link href="css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header"></div>
<div id="container">
<div id="content">
<span class="TitleFont">About Angelina's Yoga</span><br />
<br />
<p class="MainTxt">Lorem epsom ipson dolor sic amet sec in consetum nunc ad valorem. Lorem
ipson dolor sic amet sec in consetum nunc ad valorem. Lorem ipson dolor
sic amet epsom sec in consetum nunc ad valorem. Lorem ipson dolor sic
amet sec in consetum nunc ad valorem. Lorem ipson dolor sic amet sec in
consetum nunc ad valorem. Lorem ipson dolor sic epsom amet sec in consetum
nunc ad valorem. Lorem ipson dolor sic amet sec in consetum nunc ad valorem.
Lorem ipson dolor sic amet sec in consetum nunc ad epsom valorem. Lorem
ipson epsom dolor sic amet sec in consetum nunc ad valorem.<br />
<br />
Lorem epsom ipson dolor sic amet sec in consetum nunc ad valorem. Lorem
ipson dolor sic amet sec in consetum nunc ad valorem. Lorem ipson dolor
sic amet epsom sec in consetum nunc ad valorem. Lorem ipson dolor sic
amet sec in consetum nunc ad valorem. </p>
</div>
<div id="navcontainer">
<ul id="navlist">
<li><a class="BtnHome" href="#"></a></li>
<li><a class="BtnClass" href="#"></a></li>
<li><a class="BtnCal" href="#"></a></li>
<li><a class="BtnBio" href="#"></a></li>
<li><a class="BtnContact" href="#"></a></li>
<li><a class="BtnFoot" href="#"></a></li>
</ul>
</div>
</div>
<div id="footer"> Site Map / Home / Classes / Bio / Calander / Contact<br />
Site Design By Circle Digital</div>
</body>
</html>
My page works ok with FireFox in both PC and Mac, but on IE 6 Windows the menu on the right drops down out of place. (On Mac IE 5 I'm getting an entirely different problem - the container DIV in not centering, but my 1st priority is to solve the IE 6 on Windows)
Please take a peek with FireFox(works) and IE (doesn't work) at:
http://circledigital.com/AngelinaRef/AngelinaRef.html
I understand that IE6 has mucho bugs, but I haven't yet found those little buggers that are doing this. Any help would be much appreciated.
Here is the CSS, followed by my HTML:
body {
background-color: #529cc4;
background-image: url(../images/BkGrndImg.jpg);
background-repeat: repeat-x;
margin: 0 auto;
text-align: center;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666666; }
#container {
width: 765px;
margin: 0 auto;
background-color: #ffffff;
overflow:hidden;
}
#header {
width: 765px;
height: 170px;
background-image: url(../images/Banner.jpg);
margin: 0 auto;
}
#navcontainer {
margin-left: 559px;
width: 206px;
height: 300px; }
#navcontainer ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
margin: 0 auto;
}
a.BtnHome {
display: block;
width: 206px;
height: 33px;
background: url(../images/Btn_Home.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnHome {
background-position: 0 -33px;
}
a.BtnClass {
display: block;
width: 206px;
height: 28px;
background: url(../images/Btn_Classes.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnClass {
background-position: 0 -28px;
}
a.BtnCal {
display: block;
width: 206px;
height: 27px;
background: url(../images/Btn_Cal.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnCal {
background-position: 0 -27px;
}
a.BtnBio {
display: block;
width: 206px;
height: 27px;
background: url(../images/Btn_Bio.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnBio{
background-position: 0 -27px;
}
a.BtnContact {
display: block;
width: 206px;
height: 27px;
background: url(../images/Btn_Contact.jpg) no-repeat 0em 0em;
text-decoration: none;
}
a:hover.BtnContact{
background-position: 0 -27px;
}
a.BtnFoot {
display: block;
width: 206px;
height: 54px;
background: url(../images/Btn_Foot.jpg) no-repeat 0em 0em;
text-decoration: none;
}
#content {
text-align: left;
width: 500px;
margin: 0em auto +0px auto;
float: left;
padding-right: 10px;
padding-left: 30px;
padding-bottom: 10px; }
#footer {
clear:both;
width: 765px;
margin: 0 auto;
color: #ebebeb;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 10px;
text-align: center;
padding: 10px; }.TitleFont {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #9dbc3d;
font-size: 16px;
font-weight: bold;
}
.MainTxt {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666666;
}
Here is the HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Angelina's Yoga</title>
<link href="css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header"></div>
<div id="container">
<div id="content">
<span class="TitleFont">About Angelina's Yoga</span><br />
<br />
<p class="MainTxt">Lorem epsom ipson dolor sic amet sec in consetum nunc ad valorem. Lorem
ipson dolor sic amet sec in consetum nunc ad valorem. Lorem ipson dolor
sic amet epsom sec in consetum nunc ad valorem. Lorem ipson dolor sic
amet sec in consetum nunc ad valorem. Lorem ipson dolor sic amet sec in
consetum nunc ad valorem. Lorem ipson dolor sic epsom amet sec in consetum
nunc ad valorem. Lorem ipson dolor sic amet sec in consetum nunc ad valorem.
Lorem ipson dolor sic amet sec in consetum nunc ad epsom valorem. Lorem
ipson epsom dolor sic amet sec in consetum nunc ad valorem.<br />
<br />
Lorem epsom ipson dolor sic amet sec in consetum nunc ad valorem. Lorem
ipson dolor sic amet sec in consetum nunc ad valorem. Lorem ipson dolor
sic amet epsom sec in consetum nunc ad valorem. Lorem ipson dolor sic
amet sec in consetum nunc ad valorem. </p>
</div>
<div id="navcontainer">
<ul id="navlist">
<li><a class="BtnHome" href="#"></a></li>
<li><a class="BtnClass" href="#"></a></li>
<li><a class="BtnCal" href="#"></a></li>
<li><a class="BtnBio" href="#"></a></li>
<li><a class="BtnContact" href="#"></a></li>
<li><a class="BtnFoot" href="#"></a></li>
</ul>
</div>
</div>
<div id="footer"> Site Map / Home / Classes / Bio / Calander / Contact<br />
Site Design By Circle Digital</div>
</body>
</html>