Menu position wrong in Firefox

Discussion in 'HTML & Website Design' started by Mxl, Jun 4, 2013.

  1. #1
    Hello everybody,

    I'm creating a website and it works perfectly in all browsers except Firefox.

    I have a container div ...in this div are a header div and a horizontal menu div.
    Only Firefox puts the menu on the top-right position directly outside the container div.

    Is this a common Firefox problem ...and how to fix this?

    I'm looking forward to reactions!

    Kind regards,
    Mxl
     
    Solved! View solution.
    Mxl, Jun 4, 2013 IP
  2. #2
    While you are new and can't post links to sites yet, without seeing the code being used to build the site anything we tell you is a meaningless wild guess. It ALMOST sounds like a float clearing issue, but without knowing if you are using negative margins, dynamic fonts/sizes, absolute positioning, or in what combination, much less how other elements around it interact -- it's effectively impossible to answer in a meaningful fashion.
     
    deathshadow, Jun 4, 2013 IP
  3. Arun@m6

    Arun@m6 Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    31
    #3
    Hi,

    As said in the previous post, commenting without seeing the code is less helpful. But still I will recommend use a javascript to detect the browser and use a conditional CSS linking.

    Hope it works
     
    Arun@m6, Jun 4, 2013 IP
  4. Mxl

    Mxl Greenhorn

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4

    Ik have already solved it!

    Thanks for your answer...and as the matter of fact, your first guess was correct. It was a simple float issue ...float: left; ...10 seconds later ...and the site looks perfect in Firefox!

    Thanks anyway.
     
    Mxl, Jun 4, 2013 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    While I consider that broken thinking, and a halfwit solution for sweeping bad code under the rug by throwing more code at it. There is NO legitimate reason to resort to IE CC's or Javascript for layout issues apart from ignorance, apathy, or just plain bad coding practices.
     
    deathshadow, Jun 4, 2013 IP
    malky66 likes this.