to kevin3442 and everybody can help me

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
cdnieto
Beginner
Beginner
Posts: 9
Joined: Wed Jun 30, 2004 4:05 pm

to kevin3442 and everybody can help me

Post by cdnieto »

Hello, few days ago i have a dub about a milonic menu and you help me.
Well i need you again :D you can se what happend to me in http://www.nacionalengalicia.comThe menu is allright but in http://www.nacionalengalicia.com/index1.htm the menu is not in the center.
What can i do? please help
thank you
Phil
Advanced
Advanced
Posts: 10
Joined: Fri Sep 17, 2004 11:38 am

menu not centered

Post by Phil »

I suspect this an HTML thing...

Looking breifly at your HTML source you have, at the top (after the scripts)

table....
tr
td
table.....
td
table....

it's the td between the two table definitions here that you can't really do like that....

cheers
Phil
cdnieto
Beginner
Beginner
Posts: 9
Joined: Wed Jun 30, 2004 4:05 pm

Post by cdnieto »

When the resolution is 800x600 there is no problem. The problem exist when the resolution is 1024x... Then the menu change the position in the middle.

i want to know how can the menu stay in the same position in the middle.

thank you
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

It looks like you are using two different layouts on those pages, the second page is not the same layout coding as the first.

Ruth
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hello,

It looks like you've decided to vertically align the content on the page to the middle. To makethe main menu's position adjust, change the top of your Main Menu definition from this:

Code: Select all

with(milonic=new menuname("Main Menu")){
style=background;
screenposition="center";
top=165; 
left="offset=-290";
.
.
.
}
To this

Code: Select all

with(milonic=new menuname("Main Menu")){
style=background;
screenposition="center;middle";
top="offset=60"; 
left="offset=-290";
.
.
.
}
screenposition="center;middle" will make the menu want to be in the center (horizontally) and middle (vertically) of the page. The top and left offsets will then move the menu from that position. Adjust the offset values as needed.

Hope that helps,

Kevin
cdnieto
Beginner
Beginner
Posts: 9
Joined: Wed Jun 30, 2004 4:05 pm

Post by cdnieto »

Thank you very much
Post Reply