Div on top of menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
MRI
Advanced
Advanced
Posts: 12
Joined: Tue Jan 27, 2004 10:03 am

Div on top of menu

Post by MRI »

Hi

I'm trying to place a div with icons on top of a menu. But regardsless of what z-index i give the div, the menu stays on top.

http://morsbank.inet-designer.dk/

Any ideas??

Martin
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

True, the menu is the top layer.

I can't tell what you are trying to accomplish, but you can use images within the menu, see menu styles on the home page.

There are styles to use css styles or place a div around text.

text=<span style=\"attribute:value\">Menu</span>;

maz
MRI
Advanced
Advanced
Posts: 12
Joined: Tue Jan 27, 2004 10:03 am

Post by MRI »

Because of the overall placement the top menu has a fixed width off 780px and is center aligned.

In the area to the right of the menu there's two icons - home and sitemap. I can't put these in the menu because there're supposed to be aligned to the left edge off the boxes below.

The menu catches the mouseevents from the icons. The best solution would be to place the icons on top off the menu...

Hopes this gives you a clearer view of the problem.

There's a problem with the site on macs - I'm working on that.

Martin
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

The left edge is 24px, in the menu make the first 2 menu items image=/
In menu style use
top=100;
left=24;

you might need to resize menuwidth by 24px.

hi ;)
maz
MRI
Advanced
Advanced
Posts: 12
Joined: Tue Jan 27, 2004 10:03 am

Post by MRI »

I'm not sure what you're are suggesting.

The topmenu is centeraligned and has a fixed width.

top=100;
menuwidth=718;
alwaysvisible=1;
orientation="horizontal";
screenposition="center";


I've removed the left offset and reduced the menuwidth. This way it's it tidyer. But if left is set to 24, the menu won't be center aligned.

Is there a better way of positioning the menu??
Post Reply