#1
  1. PHP Newbie forever
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Location
    France
    Posts
    58
    Rep Power
    17

    Unhappy CSS Menu bug in Internet Explorer


    I am having problems getting my menu to align, I found the menu system at.

    http://www.gazingus.org/html/Using_L...TML_Menus.html

    However when you try and center it using tables or divs you get the result you can see in the attached image.

    Strange thing it works fine in firefox, and sort of okay in opera, though its not centered and the menu is a little bugged.

    I just can't think what causing the problem and its annoying me.

    I've attached all the files in zip file for people to explore and see were i am going wrong.

    thanks
    Attached Images
    Attached Files
    -----------------------------------
    Php and MySql N3wbie forever.................
    -----------------------------------
  2. #2
  3. PHP Newbie forever
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Location
    France
    Posts
    58
    Rep Power
    17
    can no one help?
    -----------------------------------
    Php and MySql N3wbie forever.................
    -----------------------------------
  4. #3
  5. PHP Newbie forever
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Location
    France
    Posts
    58
    Rep Power
    17

    Unhappy


    I've discovered if you try to set the width of a div in CSS it messes up the menu, If I remove the width I get this but the menu is placed correctly. See image.
    Attached Images
    -----------------------------------
    Php and MySql N3wbie forever.................
    -----------------------------------
  6. #4
  7. PHP Newbie forever
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Location
    France
    Posts
    58
    Rep Power
    17
    I found how to fix it , I just needed to add position: relative; to the menu div to sort it out.
    -----------------------------------
    Php and MySql N3wbie forever.................
    -----------------------------------
  8. #5
  9. AZbb founder
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2004
    Location
    London, UK
    Posts
    843
    Rep Power
    16
    Show up the page with the bug so its source can be examined.

    Most bugs are normally poor coding.

    I saw this. Very funny
    /*
    Style Sheet v1.0 - Created by Alisdair Comb
    For use for AC-Kreations 2.0, Copyright 2004

    AC- Admin Section
    Last Updated 26/1/2004

    Any use of Code within this style sheet is
    not allowed without persmission of the site
    owner, So don't steal.
    */
    To all web designers out there:
    Do not use the following or you will infringe on above copyright:
    margin: 10px;
    padding: 0px;


    Additionally, anyone spelling permission as persmission may be prosecuted for copyright infringement.



    Good luck
    AZ

    AZbb :: AZ Bulletin Board - Secure BBS script, Front page CMS, Chat, No database
    Simple Guide to Apache and PHP installation on Windows

IMN logo majestic logo threadwatch logo seochat tools logo