Unwanted horizontal scrollbar
-
Hi Guys
I hoep someone can help this has been driving me up the wall tonight – I want the menu div to exist in a fixed sized box with overflow:auto; But sadly in Firebird 0.7 I get an horizontal scrollbar (the content fits the box easily) – I’ve set all the padding and margins to 0 in the hope that it’ll fix it but it hasn’t – in IE 6 and IE 5 there is no scrollbar.
Heres the CSS#menu {
position:absolute;
top:71px;
left:512px;
width:183px;
height:336px;
overflow: auto;
text-align: left;
margin-left: 0px;
padding-left:0;
border: 0;
}
#menu form {
}
#menu input {
}
#menu ul {
color: #ccc;
font-weight: bold;
list-style-type: none;
margin: 0px;
padding:0;
}
#menu ul li {
font-family: ‘Times New Roman’, Times, serif;
font-weight: normal;
font-style: italic;
font-size: 110%;
margin: 0px;
padding:0;
border: 0;
}
#menu ul ul {
font-variant: normal;
font-weight: normal;
font-style: ;
list-style-type: none;
text-align: left;
margin-left: 0px;
padding:0;
border: 0;
}
#menu ul ul li {
font-size: 0.85em;
font-family: ‘Times New Roman’, Times, serif;
font-weight: normal;
font-style: normal;
letter-spacing: 0;
margin-left: 0px;
padding:0;
border: 0;
}
#menu ul ul li a {
color: #fff;
text-decoration: underline;
}
#menu ul ul li a:hover {
color: #ccc;
text-decoration: underline;
}Any help would be appreciated
McC
- The topic ‘Unwanted horizontal scrollbar’ is closed to new replies.