Atlantis
02-17-2009, 08:52 PM
I'm having an issue on the Explorer display of my main site nav bar.
View here http://departedangels.org
Before you knock me, yes it's built with tables. I'm still working on converting to divs and I know the reasoning behind them so holding off on the lectures would be great :D
In IE, the links look as though they are embossed or hovering a bit. Try viewing it in FF and it will look correct. Here's the CSS. It's the .navbutton group. Any help would be great!
@charset "UTF-8";
/* CSS Document */
.footer {
background-image: url(../images/footer.gif);
background-repeat: no-repeat;
background-position: bottom;
background-color: #D4ECFF;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #333333;
text-align: center;
}
.banner {
background-image: url(../images/banner.jpg);
background-repeat: no-repeat;
}
.navbar {
background-image: url(../images/nav_background.gif);
background-repeat: repeat-x;
}
.sidecol {
background-color: #C3DEF4;
background-image: url(../images/col_background.gif);
background-repeat: repeat-x;
background-position: bottom;
vertical-align: top;
padding-top: 15px;
padding-right: 30px;
padding-bottom: 30px;
padding-left: 30px;
width: 190px;
}
.body {
vertical-align: top;
padding: 30px;
width: 590px;
}
.bodylink {
color: #0066CC;
text-decoration: underline;
line-height: 20px;
}
.bodylink a:link {
text-decoration: underline;
color: #0066CC;
}
.bodylink a:visited {
color: #0066CC;
text-decoration: underline;
}
.bodylink a:hover {
color: #0066CC;
text-decoration: underline;
}
.bodylink a:active {
color: #0066CC;
text-decoration: underline;
}
p {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 20px;
color: #333333;
}
h1 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 18px;
text-transform: uppercase;
letter-spacing: 2px;
color: #394E65;
font-weight: normal;
padding-top: 10px;
}
p a:link {
text-decoration: none;
color: #0066CC;
}
p a:visited {
color: #0066CC;
text-decoration: none;
}
.navbutton {
background-image: url(../images/nav_button.gif);
background-repeat: no-repeat;
background-position: center center;
padding: 5px;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #0A92C0;
letter-spacing: 2px;
vertical-align: middle;
text-decoration: none;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
.navbutton a:link {
background-image: url(../images/nav_button.gif);
background-repeat: no-repeat;
background-position: center center;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #0A92C0;
letter-spacing: 2px;
text-decoration: none;
vertical-align: middle;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
padding: 5px;
}
.navbutton a:visited {
background-image: url(../images/nav_button.gif);
background-repeat: no-repeat;
background-position: center center;
padding: 5px;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #0A92C0;
letter-spacing: 2px;
text-decoration: none;
vertical-align: middle;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
.navbutton a:hover {
background-image: url(../images/nav_button_over.gif);
background-repeat: no-repeat;
background-position: center center;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #067498;
letter-spacing: 2px;
text-decoration: none;
width: 173px;
display: block;
padding: 5px;
vertical-align: middle;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
.navbutton a:active {
background-image: url(../images/nav_button.gif);
background-repeat: no-repeat;
background-position: center center;
padding: 5px;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #0A92C0;
letter-spacing: 2px;
text-decoration: none;
}
.subnav {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 9px;
text-transform: uppercase;
color: #CCCCCC;
letter-spacing: 2px;
}
.subnav a:link {
text-decoration: underline;
color: #CCCCCC;
}
.subnav a:visited {
color: #CCCCCC;
text-decoration: underline;
}
.subnav a:hover {
color: #D4ECFF;
text-decoration: underline;
}
.subnav a:active {
color: #CCCCCC;
text-decoration: underline;
}
.sidecolimg {
border: 4px solid #FFFFFF;
margin: 0px;
padding: 0px;
}
h2 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
text-transform: capitalize;
color: #394E65;
letter-spacing: 1px;
}
.line {
font-family: Geneva, Arial, Helvetica, sans-serif;
color: #666666;
letter-spacing: -2px;
}
.colnewsdate {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #333333;
}
.colnewshead {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
color: #333333;
}
View here http://departedangels.org
Before you knock me, yes it's built with tables. I'm still working on converting to divs and I know the reasoning behind them so holding off on the lectures would be great :D
In IE, the links look as though they are embossed or hovering a bit. Try viewing it in FF and it will look correct. Here's the CSS. It's the .navbutton group. Any help would be great!
@charset "UTF-8";
/* CSS Document */
.footer {
background-image: url(../images/footer.gif);
background-repeat: no-repeat;
background-position: bottom;
background-color: #D4ECFF;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #333333;
text-align: center;
}
.banner {
background-image: url(../images/banner.jpg);
background-repeat: no-repeat;
}
.navbar {
background-image: url(../images/nav_background.gif);
background-repeat: repeat-x;
}
.sidecol {
background-color: #C3DEF4;
background-image: url(../images/col_background.gif);
background-repeat: repeat-x;
background-position: bottom;
vertical-align: top;
padding-top: 15px;
padding-right: 30px;
padding-bottom: 30px;
padding-left: 30px;
width: 190px;
}
.body {
vertical-align: top;
padding: 30px;
width: 590px;
}
.bodylink {
color: #0066CC;
text-decoration: underline;
line-height: 20px;
}
.bodylink a:link {
text-decoration: underline;
color: #0066CC;
}
.bodylink a:visited {
color: #0066CC;
text-decoration: underline;
}
.bodylink a:hover {
color: #0066CC;
text-decoration: underline;
}
.bodylink a:active {
color: #0066CC;
text-decoration: underline;
}
p {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 20px;
color: #333333;
}
h1 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 18px;
text-transform: uppercase;
letter-spacing: 2px;
color: #394E65;
font-weight: normal;
padding-top: 10px;
}
p a:link {
text-decoration: none;
color: #0066CC;
}
p a:visited {
color: #0066CC;
text-decoration: none;
}
.navbutton {
background-image: url(../images/nav_button.gif);
background-repeat: no-repeat;
background-position: center center;
padding: 5px;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #0A92C0;
letter-spacing: 2px;
vertical-align: middle;
text-decoration: none;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
.navbutton a:link {
background-image: url(../images/nav_button.gif);
background-repeat: no-repeat;
background-position: center center;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #0A92C0;
letter-spacing: 2px;
text-decoration: none;
vertical-align: middle;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
padding: 5px;
}
.navbutton a:visited {
background-image: url(../images/nav_button.gif);
background-repeat: no-repeat;
background-position: center center;
padding: 5px;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #0A92C0;
letter-spacing: 2px;
text-decoration: none;
vertical-align: middle;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
.navbutton a:hover {
background-image: url(../images/nav_button_over.gif);
background-repeat: no-repeat;
background-position: center center;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #067498;
letter-spacing: 2px;
text-decoration: none;
width: 173px;
display: block;
padding: 5px;
vertical-align: middle;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
.navbutton a:active {
background-image: url(../images/nav_button.gif);
background-repeat: no-repeat;
background-position: center center;
padding: 5px;
text-align: center;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-transform: uppercase;
color: #0A92C0;
letter-spacing: 2px;
text-decoration: none;
}
.subnav {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 9px;
text-transform: uppercase;
color: #CCCCCC;
letter-spacing: 2px;
}
.subnav a:link {
text-decoration: underline;
color: #CCCCCC;
}
.subnav a:visited {
color: #CCCCCC;
text-decoration: underline;
}
.subnav a:hover {
color: #D4ECFF;
text-decoration: underline;
}
.subnav a:active {
color: #CCCCCC;
text-decoration: underline;
}
.sidecolimg {
border: 4px solid #FFFFFF;
margin: 0px;
padding: 0px;
}
h2 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: normal;
text-transform: capitalize;
color: #394E65;
letter-spacing: 1px;
}
.line {
font-family: Geneva, Arial, Helvetica, sans-serif;
color: #666666;
letter-spacing: -2px;
}
.colnewsdate {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #333333;
}
.colnewshead {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
color: #333333;
}