marty
06-27-2005, 04:36 AM
Hi
I’m stumped by this CSS problem I have. It looks fine in IE but not in Netscape or Firefox.
The menu table on the left of the page is a separate include file, the first screen shot shows what it looks like in FireFixs, the second one shows what is SHOULD look like (IE). I have inserted the CSS attached my menu include file.
Any help will be appreciated
Below is past of my CSS file related to this side menu.
.MenuTable{
LINE-HEIGHT: 95%;
}
.mnpMenuRow {
BORDER-RIGHT: 1px solid;
PADDING-RIGHT: 15px;
BORDER-TOP: 1px solid;
PADDING-LEFT: 6px;
PADDING-BOTTOM: 3px;
MARGIN: 1px 0px;
BORDER-LEFT: 1px solid;
CURSOR: pointer;
COLOR: black;
PADDING-TOP: 1px;
BORDER-BOTTOM: 1px solid;
}
.mnpMenuRow A {
font-family:Verdana;
font-size:12px;
font-weight: Bold;
BACKGROUND: none transparent scroll repeat 0% 0%;
COLOR: black;
TEXT-DECORATION: none;
}
.mnpMenuRow A:visited {
font-family:Verdana;
font-size:12px;
FONT-weight: bold;
BACKGROUND: none transparent scroll repeat 0% 0%;
COLOR: black;
TEXT-DECORATION: none;
}
.mnpMenuRow A:hover {
font-family:Verdana;
font-size:12px;
FONT-weight: bold;
BACKGROUND: none transparent scroll repeat 0% 0%;
COLOR: black;
TEXT-DECORATION: none;
}
.mnpMenuRow {
font-family:Verdana;
font-size:11.5px;
}
.mnpMenuArrow {
MARGIN-TOP: 4px;
POSITION: absolute;
}
.KB {
margin-left: 0px;
list-style-type: none;
display: block;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
width: 160px;
padding: 3px;
}
.KB li a.menu {
margin-left: 0px;
list-style-type: none;
display: block;
padding: 3px;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #f1f1f1;
width: 160px;
padding: 3px;
margin: auto;
text-decoration: none;
}
.KB li a.menu:hover {
background-color: #cccccc;
border: 1px solid #999999;
}
.KB hr {
width: 160px;
color: #999999;
height: 1px;
}
.KB strong {
line-height: 20px;
}
.submenu {
visibility: hidden;
display: block;
position: absolute;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #666666;
width: 130px;
padding: 3px;
margin-left: 0px;
list-style-type: none;
}
.submenu li a.menu {
margin-left: 0px;
list-style-type: none;
display: block;
padding: 3px;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #f1f1f1;
width: 130px;
padding: 3px;
margin: auto;
text-decoration: none;
}
.submenu li a.menu:hover {
background-color: #cccccc;
border: 1px solid #999999;
}
.submenu2 {
visibility: hidden;
display: block;
position: absolute;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #666666;
width: 145px;
padding: 3px;
margin-left: 0px;
list-style-type: none;
}
.submenu2 li a.menu {
margin-left: 0px;
list-style-type: none;
display: block;
padding: 3px;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #f1f1f1;
width: 145px;
padding: 3px;
margin: auto;
text-decoration: none;
}
.submenu2 li a.menu:hover {
background-color: #cccccc;
border: 1px solid #999999;
}
Attched is also my include menu file
I hope this is enough information.
Thanking you all.
I’m stumped by this CSS problem I have. It looks fine in IE but not in Netscape or Firefox.
The menu table on the left of the page is a separate include file, the first screen shot shows what it looks like in FireFixs, the second one shows what is SHOULD look like (IE). I have inserted the CSS attached my menu include file.
Any help will be appreciated
Below is past of my CSS file related to this side menu.
.MenuTable{
LINE-HEIGHT: 95%;
}
.mnpMenuRow {
BORDER-RIGHT: 1px solid;
PADDING-RIGHT: 15px;
BORDER-TOP: 1px solid;
PADDING-LEFT: 6px;
PADDING-BOTTOM: 3px;
MARGIN: 1px 0px;
BORDER-LEFT: 1px solid;
CURSOR: pointer;
COLOR: black;
PADDING-TOP: 1px;
BORDER-BOTTOM: 1px solid;
}
.mnpMenuRow A {
font-family:Verdana;
font-size:12px;
font-weight: Bold;
BACKGROUND: none transparent scroll repeat 0% 0%;
COLOR: black;
TEXT-DECORATION: none;
}
.mnpMenuRow A:visited {
font-family:Verdana;
font-size:12px;
FONT-weight: bold;
BACKGROUND: none transparent scroll repeat 0% 0%;
COLOR: black;
TEXT-DECORATION: none;
}
.mnpMenuRow A:hover {
font-family:Verdana;
font-size:12px;
FONT-weight: bold;
BACKGROUND: none transparent scroll repeat 0% 0%;
COLOR: black;
TEXT-DECORATION: none;
}
.mnpMenuRow {
font-family:Verdana;
font-size:11.5px;
}
.mnpMenuArrow {
MARGIN-TOP: 4px;
POSITION: absolute;
}
.KB {
margin-left: 0px;
list-style-type: none;
display: block;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
width: 160px;
padding: 3px;
}
.KB li a.menu {
margin-left: 0px;
list-style-type: none;
display: block;
padding: 3px;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #f1f1f1;
width: 160px;
padding: 3px;
margin: auto;
text-decoration: none;
}
.KB li a.menu:hover {
background-color: #cccccc;
border: 1px solid #999999;
}
.KB hr {
width: 160px;
color: #999999;
height: 1px;
}
.KB strong {
line-height: 20px;
}
.submenu {
visibility: hidden;
display: block;
position: absolute;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #666666;
width: 130px;
padding: 3px;
margin-left: 0px;
list-style-type: none;
}
.submenu li a.menu {
margin-left: 0px;
list-style-type: none;
display: block;
padding: 3px;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #f1f1f1;
width: 130px;
padding: 3px;
margin: auto;
text-decoration: none;
}
.submenu li a.menu:hover {
background-color: #cccccc;
border: 1px solid #999999;
}
.submenu2 {
visibility: hidden;
display: block;
position: absolute;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #666666;
width: 145px;
padding: 3px;
margin-left: 0px;
list-style-type: none;
}
.submenu2 li a.menu {
margin-left: 0px;
list-style-type: none;
display: block;
padding: 3px;
font-family: verdana;
font-size: 11px;
color: #000000;
vertical-align: middle;
background-color: #f1f1f1;
border: 1px solid #f1f1f1;
width: 145px;
padding: 3px;
margin: auto;
text-decoration: none;
}
.submenu2 li a.menu:hover {
background-color: #cccccc;
border: 1px solid #999999;
}
Attched is also my include menu file
I hope this is enough information.
Thanking you all.