Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jul 2006
    Posts
    399
    Thanks
    33
    Thanked 7 Times in 7 Posts

    help with tabbed menu on FF

    my menu shows OK on IE, if you look at it on FF menu2 and menu 3 fall out.
    thanks for you help.
    link: http://katastar.free.fr/

  • #2
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    IE, as always, is doing things wrong. Never, ever use IE as a reference for how things should work. Firefox, as always, is doing this correctly. Always use a modern browser to check your markup (anything but IE). Then look to see if/when IE screws things up.

    If you look in IE8, it behaves the same as Firefox. I'm not on my dev computer so I can't check how to fix this.

  • #3
    New Coder
    Join Date
    May 2009
    Posts
    74
    Thanks
    0
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by sybil6 View Post
    my menu shows OK on IE, if you look at it on FF menu2 and menu 3 fall out.
    thanks for you help.
    link: http://katastar.free.fr/

    Try something like this below :


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <style>
    .menu{ float:left; cursor: pointer;}
    .container{display:none;float:left;width: 370px;height:100px;overflow: hidden;border:1px solid black;}
    </style>

    <script>

    </script>

    </head>
    <body>
    <div class="menu">menu1</div>
    <div class="menu">menu2</div>
    <div class="menu">menu3</div>

    <div class="container" style="display:block; float:left; clear:both;">01</div>
    <div class="container">02</div>
    <div class="container">03</div>

    </body>
    </html>




    Regards.
    Last edited by frankle; 05-23-2009 at 11:59 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •