raguv2000
11-04-2010, 03:53 AM
Hello everyone,
This is my first post here, and my first experience with coding a website for business use.
Anyways, the rollover menu of my site (www.handytax.ca) has problems with how it renders in IE. It seems to work fine in every other browser, with minor issues in Opera.
Is there any code I can use to mitigate the problem with IE (I know that they are extremely poor when it comes to meeting web standards.)
Thanks in advance and hope to be a productive of this forum.
P.S. here is the CSS code
#container {position:relative;
width: 700px;
height: 30px;
padding: 0;
margin: 25px 0 25px 0;}
#nav {
position: relative;
top: 0px;
left: 0px;
list-style: none;
margin: 0;
height: 50px;
display: inline;
overflow: hidden;
width: 201px;
font-family:Arial, Helvetica, sans-serif; font-size:14px
}
#nav li {
margin-left:6px;
margin-right:6px;
display:inline;
list-style-type: none;
margin
}
#nav .sub {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none}
#nav li:hover {position:relative; z-index:100;}
#nav a:hover {position:relative; white-space:normal; z-index:100;}
#nav :hover ul.sub
{left:0; top:12px; width:170px; height:auto; z-index:100;}
#nav :hover ul.sub li
{display:block; height:46px; position:relative; width:170px; font-weight:normal; background-color:#FFA497; margin:2px; font-size:16px; z-index:10;}
This is my first post here, and my first experience with coding a website for business use.
Anyways, the rollover menu of my site (www.handytax.ca) has problems with how it renders in IE. It seems to work fine in every other browser, with minor issues in Opera.
Is there any code I can use to mitigate the problem with IE (I know that they are extremely poor when it comes to meeting web standards.)
Thanks in advance and hope to be a productive of this forum.
P.S. here is the CSS code
#container {position:relative;
width: 700px;
height: 30px;
padding: 0;
margin: 25px 0 25px 0;}
#nav {
position: relative;
top: 0px;
left: 0px;
list-style: none;
margin: 0;
height: 50px;
display: inline;
overflow: hidden;
width: 201px;
font-family:Arial, Helvetica, sans-serif; font-size:14px
}
#nav li {
margin-left:6px;
margin-right:6px;
display:inline;
list-style-type: none;
margin
}
#nav .sub {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none}
#nav li:hover {position:relative; z-index:100;}
#nav a:hover {position:relative; white-space:normal; z-index:100;}
#nav :hover ul.sub
{left:0; top:12px; width:170px; height:auto; z-index:100;}
#nav :hover ul.sub li
{display:block; height:46px; position:relative; width:170px; font-weight:normal; background-color:#FFA497; margin:2px; font-size:16px; z-index:10;}