Problems with Menu & CSS Layout for page

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tepidarium
Mega User
Mega User
Posts: 169
Joined: Sun Oct 05, 2003 4:21 am

Problems with Menu & CSS Layout for page

Post by tepidarium »

Hi All,

I am planning on switching the website that I maintain to a full CSS positioned layout - web standards supported by the W3C - no more tables for layout. I will be using DIVs or my page layout.

I have been experimenting with implementing the Milonic Menu in the CSS layout and I have been encountering problems.

I know the menu responds poorly when placed in a DIV but I can't think of any other way to do it. I decided to use the menu pop-up feature - not have a main menu show up but make JavaScript references to sub-menus on html links. When I do this, the submenus pop-up way too far down the page in Internet explorer 6. What's worse, in Netscape 7, the simple addition of the menu code to the body of my page messes up the some of my absolutely positioned DIVs.

If you have any strategies as to how to best implement the menu in a full CSS layout xhtml page please let me know. I can post a link to the page later, I just thought I would ask if anyone had any ideas regarding optimal placement in a full CSS environment.

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

Post by Maz »

For css xhtml try a noscript menu within the div holding the placement, and placing the Dhtml menu on top. A lot depends on your layout, keeping a fixed width and/or height to match the menu placed on top.

The popup should work too, I'm unfamiliar with problems you have. Are you using CDATA to hide the script in xhtml, if not there is an example in the beginners section.


maz
Post Reply