Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

amu-so

macrumors newbie
Original poster
Jul 1, 2005
2
0
Hi.

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="MLynx.zip"
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??
 

amu-so

macrumors newbie
Original poster
Jul 1, 2005
2
0
robbieduncan said:
Safari is probably being strict about size units. Have you tried height="30px"?

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..?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.