dthomas31uk
Technical User
Hi, Am creating a website.
Have got a problem with my horizontal menu. Everything is fine in Firefox, but have a irritating black bit appearing to the right of my menu.
I know its prob down to the box model issues in IE, but cannot get it rectified.
Any ideas guys???
The following is a link to my css
Here is the css for the nav menu
#navcontainer
{
margin: 0px 0 0 0px;
padding: 0;
height: 0px;
}
#navcontainer ul
{
border: 0;
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}
#navcontainer ul li
{
display: block;
float: left;
text-align: center;
padding: 0;
margin: 0;
}
#navcontainer ul li a
{
background: #fff;
width: 98px;
height: 24px;
border-top: 1px solid #BEB9B9;
border-left: 1px solid #BEB9B9;
border-right: none;
padding: 5px 0 0 0px;
margin: 0px 0 0px 0;
color: #01A0C7;
text-decoration: none;
display: block;
text-align: center;
font: normal 10px/18px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, sans-serif;
}
* html #navcontainer ul li a {
width: 98px;
}
#navcontainer ul li a:hover
{
color: #01A0C7;
background: #D9F0F5;
}
#navcontainer a:active
{
background: #01A0C7;
color: #fff;
}
#navcontainer li#active a
{
background: #01A0C7;
border-top: 1px solid #999999;
border-left: 1px solid #999999;
border-right: 1px solid #999999;
color: #fff;
}
Cheers guys!!
Have got a problem with my horizontal menu. Everything is fine in Firefox, but have a irritating black bit appearing to the right of my menu.
I know its prob down to the box model issues in IE, but cannot get it rectified.
Any ideas guys???
The following is a link to my css
Here is the css for the nav menu
#navcontainer
{
margin: 0px 0 0 0px;
padding: 0;
height: 0px;
}
#navcontainer ul
{
border: 0;
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
}
#navcontainer ul li
{
display: block;
float: left;
text-align: center;
padding: 0;
margin: 0;
}
#navcontainer ul li a
{
background: #fff;
width: 98px;
height: 24px;
border-top: 1px solid #BEB9B9;
border-left: 1px solid #BEB9B9;
border-right: none;
padding: 5px 0 0 0px;
margin: 0px 0 0px 0;
color: #01A0C7;
text-decoration: none;
display: block;
text-align: center;
font: normal 10px/18px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, sans-serif;
}
* html #navcontainer ul li a {
width: 98px;
}
#navcontainer ul li a:hover
{
color: #01A0C7;
background: #D9F0F5;
}
#navcontainer a:active
{
background: #01A0C7;
color: #fff;
}
#navcontainer li#active a
{
background: #01A0C7;
border-top: 1px solid #999999;
border-left: 1px solid #999999;
border-right: 1px solid #999999;
color: #fff;
}
Cheers guys!!