Tuesday, March 23, 2010

Horizontal Menu position of submenus

I'm a novice to Dreamweaver CS3. I have the Spry Horizontal
Menu working on my site using an include statement so it can be
pulled into all pages. I centered the menu bar on the page and it's
below some other elements instead of being at the top of the page.
The problem I'm having is that the submenu's always appear at the
top of the page. I've seen the CSS code and help info that says to
change the following code as needed.

ul.MenuBarHorizontal ul ul{

position: absolute;

margin: -5% 0 0 95%;

I have tried changing all these values but the submenu's
still appear at the top of the page. Can someone please help me
with this. Thanks much!!!

Harry

Horizontal Menu position of submenus
Hi Harry,



Did you select the entire menubar in Dreamweaver and hit the
center button in the Property inspector? If so, that may have
inserted some %26lt;div%26gt; tags within your menu structure that
breaks it. If so, remove all of the %26lt;div%26gt; tags that were
inserted, and then visit this page which explains how to center
things:




http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuB arSample.html



--== Kin ==--Horizontal Menu position of submenus
Thanks Kin,

Yes I did use the center button on the properties menu. I had
found the samples you left the link for and done that also. So
apparently the double attempts at centering worked against each
other. When I deleted the %26lt;div%26gt; tags it works fine and is
centered.

Thanks much for your help with this.

Regards,

Harry
  • ink cartridge
  • trilogy
  • pop beauty
  • No comments:

    Post a Comment