Problems with sub offset

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Il Calzone
Beginner
Beginner
Posts: 3
Joined: Sun Sep 07, 2003 10:41 am

Problems with sub offset

Post by Il Calzone »

Hello
I've tried to search for this but came up short...
My problem is that the sub offset meny shows up just about anywhere :-(
It seems to depend on what resolution I have and also if the screen is maximized or not, also what kind of browser I try it in...
the menu is positioned relative inside a div

have a look yourself at http://www.argentum91.nu/testarea/

Would really appreciate som help!
Il Calzone
Beginner
Beginner
Posts: 3
Joined: Sun Sep 07, 2003 10:41 am

Post by Il Calzone »

I guess I'll have to answer myself... :-) but that doesn't mean I know the anser :-(
If I remove my .css-file everything works just fine, anyone knows a workaround for this problem?

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

Post by Maz »

Here is my guess, because the Mac is not good at handling div. I generally avoid them and use tables. Maybe the div is placing the menu down a layer allowing it to take on css properties first.

If this is the case, you may be able to find a work around.

Regards
maz
Il Calzone
Beginner
Beginner
Posts: 3
Joined: Sun Sep 07, 2003 10:41 am

Post by Il Calzone »

Thanks
I had to make the submenu absolutely positioned, now it works!
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

glad to see people filddling with the menu code and getting it. Enjoy the menu!
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

maz wrote:Here is my guess, because the Mac is not good at handling div.
Whoa, darlin'. Can't let that one slide by.

Remember, you're way down the ladder in both OS and browser versions (not pickin', just 'xplainin' ;) ). The Mac is NOT the problem, because is has nothing to do with interpreting the HTML. It's the old browsers that are at fault. I use divs all the time with no problems at all with current browsers.
John
Post Reply