Centering the Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
sondo2121
Beginner
Beginner
Posts: 9
Joined: Fri Jun 02, 2006 9:57 pm
Location: Ames, IA
Contact:

Centering the Menu

Post by sondo2121 »

On one of the pages (about all the way down) shows the screen position for the menu, but I cant seem to get it to work. I have put this in my menu_data.js file everywhere that I can think of and still doesn't work.

If anyone can help, that would be great.

my code is:

screenposition="center";


Thanks in advance
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

please provide a url , it is better to see the entire code rather than the command setting the property.

Michael
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

the menu settings interfere with div class=menu settings. So don´t put it in a div with own css class. Therefore I think, the position set to center will not work. Remove the div (html), remove left=10; (main menu) and set there (main menu) screenposition="center";

If you would like to use css for the menu, please see
http://milonic.com/cssbasedmenus.php

Michael
sondo2121
Beginner
Beginner
Posts: 9
Joined: Fri Jun 02, 2006 9:57 pm
Location: Ames, IA
Contact:

Post by sondo2121 »

Thanks, that worked out for me.
Post Reply