Click to See Complete Forum and Search --> : CSS Dynamic drop down menu help


j0nnyd
08-14-2007, 03:10 PM
Hi,

I am using the menu from here http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

My question is:

There is a 'dropdowndiv' which holds the dropdown! However i need to put a top margin on this so that the drop down drops down approx 15px below the top link. Im using images.

If i assign a top margin to the divs it applies it to every item menu which doesnt work cause i have sliced up my menu meaning it has a border.


Example: Ont his html page: see the orange and blue strip that runs horizontally above this post. Say i had the menu there. I would have 'HOME' in the orange bit, but i want 'HOME's' drop down sub menu to start from below the blue bit, so there is a gap between the master link and the drop down sub menu.

Thanks!

KDLA
08-14-2007, 03:27 PM
Oh, dear - that one has really sucky coding. Try this: http://www.htmldog.com/articles/suckerfish/dropdowns/

It uses less javascript, is much easier to customize, and is semantically correct.

KDLA

j0nnyd
08-14-2007, 03:53 PM
Hi,

I found the one i am using much easier and it it seems to be working pretty well, apart from the trouble i am having which is more perfection than anythng else.

Any ideas?