Click to See Complete Forum and Search --> : Frustating problem with Javascript menu


Heppers
01-15-2003, 07:58 AM
I'm using a cut and pasted drop down menu which I have personalised.
When I set it up at home it looked fine, all the text fitted nicely in the boxes.
On the computer at work the boxes in the menu were "too small" for the text.
So I played with the size of the boxes and the fonts until I was happy and it looked OK.

When I got home the text in the menu was surrounded by masses of space.

Both computers are running IE6, home one windows XP, work one win98.

As far as I can see the menu boxes are are pixel sized as are the fonts.

When I get it looking fine on my PC it looks fine in netscape 4 but when it looks strange it looks strange in netscape.

Can anyone tell me what I am doing wrong? Is the the font choice?

An example page is at http://www.mbdevelopments.co.uk/welcome/whatsnew.html

Thanks,

Ian

AdamGundry
01-15-2003, 10:55 AM
There are various things which can affect the appearance of a web page: browser version, operating system, screen resolution, user preferences, etc.

I don't know about your particular script, but you probably need to remove any absolute (pixel) sized fonts/menu boxes, instead using relative sizes such as percentages, em, ex, or the CSS size constants (small, medium, large, etc.).

Adam