100% width and offset issue?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
evalese
Beginner
Beginner
Posts: 2
Joined: Fri Feb 27, 2004 6:02 pm

100% width and offset issue?

Post by evalese »

Hi all,

First, thanks for this great product. It's a real timesaver.

I noticed that if you specify 100% width and then left offset the menu that the menu pushes the page width out to the size of the screenwidth + offset.

Is it possible to remove the offset from the menu width in this case so that menu width + offset = screenwidth? Is there a screen width variable that isn't documented that I can use?

Here's some code that pushes the page width out 100px:

with(main=new menuname("Main Menu")){
style=menuStyle;
orientation="horizontal";
menuwidth="100%";
menualign="left";
screenposition="top;left";
top="offset=75";
left="offset=100";
...

Thanks,
Ben
Post Reply