Linux Firefox div problem

Discussion in 'HTML & Website Design' started by tanicos, Apr 17, 2008.

  1. #1
    Hello...in major browsers for windows and mac the site has no problem, but in firefox and opera for linux platform i get the last menu under the first one..any help?
    http://www.onlinetemplates.org/index.php
     
    tanicos, Apr 17, 2008 IP
  2. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You mean Validation wrapping underneath the menu? It's not really a Linux thing. I just checked in Ubuntu with FF1.5 and Opera 9 and it's just the default text size (meaning, it was wrapped underneath until in FF I reduced the font size... can't do that in Opera though).
    Just checked in all browsers on WinXP. IE5, 6 and 7 show the menu correctly, as does FF2, however Opera and Safari show the same as "Linux".

    You have this in the span
    font-size:18;
    you should give that a unit.

    But even then, it's basically a difference between basic font sizes (each browser has its own default) and dpi. Linux machines are usually 72dpi (though mine is higher) while Windows machines are often 96dpi (though that can be raised as well). So, you'll have to reduce your font size a few times to get it to fit in all browsers on all OSes. Sorry.

    To test, look in FF on Linux and do ctrl -- a few times and you'll see that Validation pop right into place.
     
    Stomme poes, Apr 17, 2008 IP
  3. tanicos

    tanicos Banned

    Messages:
    578
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for your advice..i was told that Linux has some Tahoma font problems too...i'll validate the whole shop and see then..thanks again
     
    tanicos, Apr 17, 2008 IP
  4. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You'll never know what a UNix machine has for fonts. You can install any free font. I haven't installed any fonts whatsoever on my machine, so all I have are default unix fonts like Lucida and Nimbus. So, having serif, sans-serif and monospace at the end of your font declarations, it's a good idea to check all pages on a "fontless" Unix machine just to see how the page shows up. Tahoma's an MS font, so I don't know if installing it on Ubuntu would make it look different than on MS.... though Linux doesn't have the ClearType thing going on for font-smoothing like MS and Mac do that I know of. Since you also can't control dpi, it's good to take a look at the page in low and high dpi machines.

    One thing I always run into is using Verdana and then Arial or Helvetica... Verdana is a larger font than the other two, so on a machine with Verdana, the font looks bigger, while on machines with only the other two, it's almost a full font size lower. Tahoma has a size difference too... smaller than Verdana but I think maybe larger than Arial but I'm not sure.
     
    Stomme poes, Apr 18, 2008 IP
  5. tanicos

    tanicos Banned

    Messages:
    578
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks for the tips//never used linux
     
    tanicos, Apr 19, 2008 IP