Help with styles!

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
deezle
Beginner
Beginner
Posts: 7
Joined: Tue Apr 27, 2004 10:49 pm

Help with styles!

Post by deezle »

I've got most of the menu the way I want it... but I can't seem to get a few little thigs working.

Example can be found at http://www.build-survey.com . The pop-up menus are good already. Use the menu to go to "Company Information/Major Offices/New Malden England" Click on New Malden England to go to that page. A number of blue sub-menu items will appear. The problems I am having are:

- The company information menu is the current page... but it doesn't show the border... if you mouse over the company information page you will see that sub-menus do properly show the border for the current page.
- Mouse over the blue Sub Menu items... is there any way to get the border/background color to have a margin? Thus far I have had to apply a padding to it, but that just makes it look sloppy because the left side of the menu has more padding.
- For some reason the Major Offices blue menu item doesn't react to the padding setting and it appears like the other menu items... only blue.

If you can help me with these in any way I will be very greatful... I'll even transfer money to a paypal account. :)
Last edited by deezle on Wed May 26, 2004 6:45 pm, edited 1 time in total.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Your link says under-construction?

Would help to see the url, although it sounds like an error on menu_data.js, and what browser are you using?

maz
deezle
Beginner
Beginner
Posts: 7
Joined: Tue Apr 27, 2004 10:49 pm

Fixed the link

Post by deezle »

Sorry... a period got included in the URL. The link is: http://www.build-survey.com

I'm using IE 6.0... but I'm also testing using Mozilla and Opera, each has its own odd behaviour. IE is most important to me for now though.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

In Safari, the submenus are acting up, although your code is a little confusing initially, it looks like the menu scripts are in a div.

Start by placing the menu scripts under the <body> tag.
Then the table with the menu can't be in a div.

Check those first, or take the menu out of the table and position top and left.

maz
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

The mainsubMenuStyle which is used for that menu doesn't list a border, the style for the subs does.


Ruth
deezle
Beginner
Beginner
Posts: 7
Joined: Tue Apr 27, 2004 10:49 pm

Post by deezle »

The odd problem is that the page border not showing only occurs on menu items that have the arrow (indicating there is a sub-menu). If you click the Home link the page border is properly displayed.

Hmmm.

I'd like to keep the menu in the div. I did test taking the menu out of the div and putting the menu contents in the head but that didn't change these formatting issues.
Post Reply