Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

quick css one!!

  • 07-07-2005 3:24pm
    #1
    Registered Users, Registered Users 2 Posts: 252 ✭✭


    hi im creating a list for a site which i want to appear like this




    it is actually ok on IE
    however on FIREFOX its appearing like this





    How can i get FIRFOX to display like IE??
    TNX





    Heres the html:

    <ul id="mainlevel-nav2">

    <li><a class="mainlevel" href="">
    Voiles</a></li>

    <li><a class="mainlevel" href="">
    Planches</a></li>

    <li><a class="mainlevel" href="">
    Accessoires</a></li>


    <li><a class="mainlevel" href="">
    Autres</a></li>
    </ul>


    CSS:

    #mainlevel-nav2 li {margin: 0; padding: 0; list-style-type: none; width:150px;}
    #mainlevel-nav2 a:link, #mainlevel-nav2 a:visited {float: left; font-size: 11px; line-height: 12px; font-weight: bold; margin: 4px 8px 0 8px; padding: 2px; text-decoration: none; border: none; color: #4C0000; }


Comments

  • Registered Users, Registered Users 2 Posts: 155 ✭✭tammy


    Took out float: left; and it works fine. Firefox was correct, IE wrong. IE doesn't like float much or css generally. http://www.digital-web.com/articles/toward_a_more_standards_compliant_ie/

    #mainlevel-nav2 li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width:150px;
    }

    #mainlevel-nav2 a:link, a:visited {

    font-size: 11px;
    line-height: 12px;
    font-weight: bold;
    margin: 4px 8px 0 8px;
    padding: 2px;
    text-decoration: none;
    border: none;
    color: #4C0000;
    }


  • Registered Users, Registered Users 2 Posts: 252 ✭✭ConsultClifford


    tnx alot!


Advertisement