Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Sub menu too narrow Reply To: Sub menu too narrow

#238759
dona70
Participant

Thanks, but I all ready did this:

#main-nav li ul {
left: 0;
line-height: 1.2em; /1.2em 17.28px/
position: absolute;
top: 100%;
visibility: hidden;
width: auto;
}

#main-nav li ul li {
background-color: rgb(48, 48, 48);
display: block;
float: none;
min-height: 26px;
padding: 10px 10px 20px 20px;
position: relative;
}

I put width: auto into #main-nav li ul and removed width: 121px from #main-nav li ul li