|
Posted by David E. Ross on March 27, 2008, 6:58 pm
Please log in for more thread options On 3/27/2008 10:41 AM, obaqueiro wrote:
> Hello, if you look at this page:
>
> http://playground.emanuelblagonic.com/creating-nested-drop-down-menus/
>
> Showing a menu and sub-menu web page in Firefox or Opera, the
> submenues are shown vertically. This presumably because of the
> display:block style which according to the css page (
> http://www.w3schools.com/css/pr_class_display.asp ) :
>
> "The element will be displayed as a block-level element, with a line
> break before and after the element"
>
>
> However, when you see the menu page with IE7, the submenus are
> displayed incorrectly (horizontally). Is there a way to make it show
> correctly?? I have tried with display:list-item and others but can not
> achieve the desired effect (make it display vertically, like in
> Firefox and Opera and presumably others).
>
> Thank you,
>
> Omar.
Actually, IE7 displays the 1st level submenus horizontally (as you said)
but the 2nd level submenus (the subsubmenus) vertically.
The page is XHTML. Since I use only HTML, I haven't paid thorough
attention to threads in this newsgroup regarding XHTML. However, what I
have seen suggests that IE has problems rendering XHTML. I don't know
if this was corrected between IE6 and IE7.
--
David Ross
<http://www.rossde.com/>
Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.
|