style being overriden by primary stylesheet?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tg4
Beginner
Beginner
Posts: 6
Joined: Thu Nov 10, 2005 9:04 pm

style being overriden by primary stylesheet?

Post by tg4 »

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

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

Ruth
tg4
Beginner
Beginner
Posts: 6
Joined: Thu Nov 10, 2005 9:04 pm

Post by tg4 »

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?
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

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.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
tg4
Beginner
Beginner
Posts: 6
Joined: Thu Nov 10, 2005 9:04 pm

Post by tg4 »

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!
Post Reply