Discussion in 'Mac Programming' started by amu-so, Jul 1, 2005.

  1. amu-so macrumors newbie

    Jul 1, 2005

    I'm developing applets for a website, but I have trouble getting it to work in browsers on both windows and mac platform. It works fine in several browsers on windows platforms (IE, FireFox, Opera, ...) but not on mac.
    On mac I get it up in Safari, but it ends up like a thin line instead of a 30 pixels high menu as it should. (And does on windows platform...).

    Code used for Mac:
    <!-- Mac -->
    <OBJECT data="java:MenuLynx.class" code="MenuLynx.class"
    type="application/x-java-applet;version=1.4" archive=""
    width="90%" height="30" align="top">
    <!-- end Mac -->

    Realy hope someone can help me.

    It is maybe a problem that it is inside a frame-set??
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    Safari is probably being strict about size units. Have you tried height="30px"?
  3. amu-so thread starter macrumors newbie

    Jul 1, 2005
    No, but I changed the <object> tag to just an <applet> tag and then my applet showed up.

    Now my only problem is that my fonts are a big bigger than on windows so that some of them dissapare? ToDo ends up like ToD
    and Log Out ends up like Log :confused: Where are they?
    Is there any fonts that I can't use on mac.
    I use a parameter to set the font to Verdana, which I found out that should be the same on mac and windows..?

Share This Page