HTML interesse |
|
Zit met een raar hyperlink css probleem.
In Firefox laat ie mooi wit zien, maar in IE laat ie blauwe kleur zien.
Mijn code
/*********** standaard hyperlink styles ***********/
a:link, a:visited, a:active {
font-family: verdana, arial, helvetica, sans-serif;
color: #335eb3;
text-decoration: none;
}
a:hover {
font-family: verdana, arial, helvetica, sans-serif;
color: #003399;
text-decoration: underline;
}
/******* navigatie style *******/
a.dd_button {
text-decoration: none;
color: #FFFFFF;
font-weight: bold;
padding: 2px 5px;
}
a.dd_button:hover {
/*background-color: #FFFFFF;*/
color: #DFBD4E;
text-decoration: none;
font-weight: bold;
}
div.dd_dropmenudiv {
position: absolute;
top: 0;
border: 1px solid #164a7f;
border-bottom-width: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: left;
line-height: 18px;
z-index: 100;
background-color: #4ba5db;
width: 150px;
visibility: hidden;
}
div.dd_dropmenudiv a {
width: 100%;
display: block;
text-indent: 8px;
border-bottom: 1px solid #164a7f;
padding: 2px 0;
text-decoration: none;
color: #FFFFFF;
}
div.dd_dropmenudiv a:hover {
color: #F2AA30;
background-color: #F5F5F5;
text-decoration: none;
}
/*********** standaard hyperlink styles ***********/ a :link, a :visited , a :active { font-family: verdana, arial, helvetica, sans-serif; color: #335eb3; text-decoration: none; } a:hover { font-family: verdana, arial, helvetica, sans-serif; color: #003399; text-decoration: underline; } /******* navigatie style *******/ a.dd_button { text-decoration: none; color: #FFFFFF; font-weight: bold; padding: 2px 5px; } a.dd_button:hover { /*background-color: #FFFFFF;*/ color: #DFBD4E; text-decoration: none; font-weight: bold; } div.dd_dropmenudiv { position: absolute; top: 0; border: 1px solid #164a7f; border-bottom-width: 0; font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-align: left; line-height: 18px; z-index: 100; background-color: #4ba5db; width: 150px; visibility: hidden; } div.dd_dropmenudiv a { width: 100%; display: block; text-indent: 8px; border-bottom: 1px solid #164a7f; padding: 2px 0; text-decoration: none; color: #FFFFFF; } div.dd_dropmenudiv a:hover { color: #F2AA30; background-color: #F5F5F5; text-decoration: none; }
Hij moet dus de standaard hyperlink style negeren en wit aangeven bij de dropdownmenu.
Probleem te zien op http://as.4dimension.nl/SITE/ in IE (in FF doet ie goed wat ie moet doen)...
|