positioning problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jgbull
Beginner
Beginner
Posts: 4
Joined: Tue Nov 04, 2003 6:07 am

positioning problem

Post by jgbull »

I am trying to make a centred webpage with a vertical menu embeded on the left hand side. I have attempted to implement a centred menu, given it the appropriate top offset. I then try to give it a negative left offset so it will reside in the proper place, but it doenst change the positioning. Forgive me if this is a teribly noob question, but I just cant figure it out.

Thanks

Justin
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Please post a URL or your menu_data code so we can see how you are doing this, and more quickly figure out the problem.

Also Andy, this reminds me, your sample at http://milonic.com/menusample.php?sampleid=23 does not allow negative offsets in the example. If I make a menu middle centered, and then give it a -50 for top offset it won't take it, I think its because you are looking for integers only. But the negative numbers can't be used in the example then. Just FYI.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
jgbull
Beginner
Beginner
Posts: 4
Joined: Tue Nov 04, 2003 6:07 am

Post by jgbull »

I am attemtpting to do precisely what you said to Andy, have a centred menu with a negative offset. So, I'm not sure what good my non-working code would do anyways. Perhaps its just something endogenous to the script.

Justin
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Looking at Andy's code in the example, he is specifically only using the value if it is positive. Its not the menu in this case, its his checking of the value before it gets into the menu...he only sets the offset if its positive.
But regarding your problem, I am unsure...are you using left="offset=-5"; way of doing? As I said, post your menu_data or a URL so we can help. Can't go any farther, dont have anything else to go on.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply