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 5 of 5
  1. #1
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Right-aligned horizontal list menu not working in Opera

    http://www.offtone.com/index2.php

    I have a <ul> that is told to be right: 0 of its container. That works. I also tell the <li> inside it to float: left. The effect should be a right-aligned horizontal menu. Opera renders it as a vertical menu, but will make it horizontal if I set the width of the <ul> to something absolute. The trouble with that is that I can't be sure what the width of this menu is (items get added/removed depending on the server-side state of the menu class) so I'm stuck for ideas.

    Any ideas on how to get this working in Opera? Would be hugely appreciated.

    Thanks,
    Aaron

  • #2
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Erm, anyone? Would be super if I could get this menu working in Opera.

  • #3
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Could you give it a width like 1%, and have it be forced wider?

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #4
    Regular Coder Graft-Creative's Avatar
    Join Date
    Aug 2004
    Location
    Web Designer - North East Lancashire U.K.
    Posts
    842
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, it's looking fine to me? Maybe you've got it sorted out now? The other day when I passed by your site (to comment on 'horsetails') the nav was really funky in Opera - to the left, and disappearing off the screen!? Looks fine now though.

    Kind Regards,

    Gary

  • #5
    Senior Coder
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    1,223
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In Opera. It's fine in everything else.

    And yes I've given it small widths. I've tried white-space: nowrap, too. Nothing seems to be doing the trick.


  •  

    Posting Permissions

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