Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:21

style being overriden by primary stylesheet?


Poster: tg4
Dated: Saturday December 17 2005 - 1:01:16 GMT

hi - I am using the wordpress blog on my site (and I have an external style sheet I'm using) and I think that the stylesheet on the blog is overriding the stylesheet for my dropdown menu somehow... The fonts are much smaller on my blog pages and are centered in the dropdown boxes -- this is only the case on my blog pages.

See the menu INCORRECTLY here:
http://LQDP.com/blog

See the meny CORRECTLY here:
http://LQDP.com

Here's the weird thing though: It's the same external stylesheet in both cases (http://LQDP.com/lqdp.css)... Any ideas? I'm at a complete loss.

thanks very much for any input.


Poster: Ruth
Dated: Sunday December 18 2005 - 5:55:37 GMT

Hi,

I'm not seeing anything different between the pages. I have IE5.5, what browser is doing this?

Ruth


Poster: tg4
Dated: Monday December 19 2005 - 6:05:05 GMT

That's the weirdest thing... I don't see it either now... I was switching between IE and firefox, and they both did it, and I'm not sure what I've changed that could have made it stop... weird.

But... Here's a question: There is a difference in the menus between these 2 pages. On the blog page, the black 1 px outline doesn't follow the outer border as it does in the other page. Also, there are some minor alignment problems (the blog dropdown menu's alignment isn't quite right -- it should be like the home page dropdown). I'm noticing these in IE -- these aren't a huge deal, but the menus are getting drawn differently between pages and I would like to know how I could fix it (or why it might be happening)... any thoughts?


Poster: vikenk
Dated: Monday December 19 2005 - 13:39:50 GMT

I also didn't notice any problems except for th eborder being drawn incorrectly. Although I don't really know what caused it, I'd look at your CSS.

I've learned through trial and error that the menu is sensitive to generic tag styling, especially in the <body> tag. If you have margin, line-spacing, and font-size in the <body> tag, the menu will likely pick up on that.

The same goes to <table> and <td> styling. If you have them styled without a class, the menu will pick up on that. So check your CSS carefully and check your menu_data.js file to make sure there are no inconsistencies.

I also know that Opera is sensitive to <body> margins with the menu. I had a problem where the submenus were popping out half way across the page in Opera. It turned out that Opera was applying the "margin-left: 190px" of my <body> to the menu. I switched from margin to padding and that took care of the problem. Once Milonic fixes that bug, I'll revert back to the margin setting.

Viken K.


Poster: Ruth
Dated: Monday December 19 2005 - 13:44:20 GMT

Hi,

I have no clue. I can only suggest you try a process of elimination. I don't use much css, so I don't know what this or that might be doing, you have something called wrap.gif set up on the blog page which seems to be different than the other page. I don't know what that's for but it's one thing I notice is different.

Ruth


Poster: tg4
Dated: Monday December 19 2005 - 18:00:53 GMT

thanks everyone for your replies -- I'll check it out. I do have generic <td> styling, so that will be my first place to look! thanks!