Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:23

menu position?


Poster: kbrowder
Dated: Sunday December 4 2005 - 14:36:38 GMT

Greetings everyone.

I've been struggling with the menu position when using FireFox browser.

In the others, IE, Opera, CrazyBrowser, etc. the menu is positioned centered within the boundaries of my page which is 780 pixels wide.

However, with FireFox the menu positions itself in relation to the monitor screen rather than in the center of the page.

I use CSS and not tables to create my page.

In the menu I have:
Screenposition="top:center";
menuwidth="70%";
orientation="horizontal";

The web site is here for those who would like to browse there with FireFox.
http://7times.org

Whenever the screen is 1024X768 the menu looks good. However, when 800x600 or smaller resolution, the menu begins to offset to the right in reference to the page and the right end of the menu moves off the page.

You can see this just by reducing the page width of the window too.

I sure could use some help on this for it has plagued me for awhile now and I know most of my users browse at 800x600.

Thanks for any help you can give. Need more info? Please write.

Ken


Poster: tootricky
Dated: Sunday December 4 2005 - 16:58:45 GMT

The same problem is also present in Safari for Mac...

I believe the problem is related to you declaring the width of the menu as a percentage OR the way you have declared the screenposition attribute: I would try this (It works just like you want on several sites that I have)

itemwidth=100; //change this to whatever
itemheight=23; //change this to whatever
screenposition="center"; //removed top to see if it solves issue
top=0; //sets position of menu in the vertical
style=topstyle;
alwaysvisible=1;
orientation="horizontal";

or you could just try just get rid of the menuwidth attribute and see if that works.

BTW I really like your subscriber form, very compact way to do it! :)


Poster: tootricky
Dated: Sunday December 4 2005 - 17:06:01 GMT

Ahhhh! Just spotted the problem:

screenposition: "top:center"

SHOULD BE:

screenposition: "top;center"

semicolon rather than colon should fix it :)


Poster: kbrowder
Dated: Sunday December 4 2005 - 18:31:33 GMT

tootricky wrote:
Ahhhh! Just spotted the problem:

screenposition: "top:center"

SHOULD BE:

screenposition: "top;center"

semicolon rather than colon should fix it :)

Neither solution worked here. Well. I didn't change the width attribute. Maybe I should change that.


Poster: kbrowder
Dated: Sunday December 4 2005 - 18:37:55 GMT

kbrowder wrote:
tootricky wrote:
Ahhhh! Just spotted the problem:

screenposition: "top:center"

SHOULD BE:

screenposition: "top;center"

semicolon rather than colon should fix it :)

Neither solution worked here. Well. I didn't change the width attribute. Maybe I should change that.


Yep! That took care of it when I commented out the width attribute.

THANKS :D

BTW - thanks for the compliment on the subscribe form. I had a search form set up the same way until the search script messed up and I had to take it out. Searching for another one I can use now.

Thanks again