Positioning

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
use
Beginner
Beginner
Posts: 1
Joined: Sun Oct 16, 2005 1:41 pm

Positioning

Post by use »

I have got some problems with the postion of the menue:

The parameters are:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
followscroll=1;
orientation="horizontal";
top=140;
left=122;

IE, Firefox and Netscape are interpreting this paraters different. Has some one a soultion?
B.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I would bet they are off by a few pixels. That's because they have different 'automatic' margins. Set the body margin to 0 in css. In the head of the page put

Code: Select all

style type="text/css">
body{margin:0px}</style>
That should equalize them.

Ruth
Post Reply