|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
strange css menu is borked in netscape
This side menu works great in MSIE, but in netscape and mozilla the top half of the menu is unfunctional (screenshots and above), it's very strange.
here is the css for the menu Code:
#leftcolumn ul {
list-style: none;
margin: 0;
padding-top: 5px;
padding-left: 5px;
border: none;
}
#leftcolumn li {
margin: 0;
}
#leftcolumn li a {
display: block;
height: 12px;
text-align: left;
text-decoration: none;
color: #000;
}
html>body #leftcolumn li a {
width: auto;
}
#leftcolumn li a:hover {
color: #A03215;
}
#leftcolumn ul.subnav {
list-style: none;
margin: 0;
padding-top: 0px;
padding-left: 10px;
border: none;
}
#leftcolumn ul.subnav li {
margin: 0;
}
#leftcolumn ul.subnav li a {
display: block;
text-align: left;
height: 12px;
text-decoration: none;
padding-left: 3px;
margin-bottom: 1px;
border-left: 7px solid #B2B2B2;
color: #B2B2B2;
}
html>body #leftcolumn ul.subnav li a {
width: auto;
}
#leftcolumn ul.subnav li a:hover {
color: #000;
border-left: 7px solid #A03215;
}
here is the code for displaying it. PHP Code:
thanks!
__________________
-Sotonin |
|
#2
|
|||
|
|||
|
i can't figure out for the life of me what is wrong, the syntax appears correct im not missing any <a hrefs> or anything. Is there anybody that can shed some light on this?
|
|
#3
|
||||
|
||||
|
If these are supposed to be nested sublists, which they appear to be, your syntax is wrong.
Code:
<ul>
<li></li>
<li>
<ul>
<li></li>
<li></li>
</ul>
</li>
</ul>
cheers, gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. My html and css workshop, demos and tutorials. Ask a better question, get a better answer. Last edited by kk5st : April 8th, 2004 at 04:38 PM. Reason: Got to find a keyboard that can spell |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > strange css menu is borked in netscape |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|