Forum Moderators: open

Message Too Old, No Replies

Font size larger in WinXP IE 6 but no other browsers

what is the workaround for this bug?

         

Lorel

11:13 pm on Jan 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have a drop down menu set up that works correctly on all browsers on Windows and Mac except Win XP IE 6. The top row of menu text is larger and in a serif font than specified but when you mouse over the text it changes to a smaller font with non-serif like I have it set up. I finally set every single item in the menu CSS to be a smaller size and non-serif font but it's still switching the top row of text back and forth on mouseover.

I had the body font set at 15px but took that out and it's doing the same thing.

Anyone know what might be causing this?

drhowarddrfine

11:51 pm on Jan 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What is your css set to for a:hover? It may have inherited from its parent.

Never, ever test code using IE. It will screw you up every time. Always test in a modern browser like Firefox or Opera.

Lorel

1:13 am on Jan 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What is your css set to for a:hover? It may have inherited from its parent.

It is set for a smaller font and sans-serif on every setting for the menu. It is putting out blue font which is what is used for regular text links.

Never, ever test code using IE. It will screw you up every time. Always test in a modern browser like Firefox or Opera.

I work from a Mac/Safari. I check my code on 4 Mac Browsers and then Win 98 and Win XP. This Menu works fine on everything but IE .

drhowarddrfine

2:18 am on Jan 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Need to see the code.

encyclo

10:38 am on Jan 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It sounds as if there is a problem with CSS specificity or the cascade, but it is difficult to diagnose without a test case. Can you reduce the markup down to the minimum to show the problem and post it here?

Also, what doctype are you using, and is it placed on the very first line of your page? How are you setting the font sizes, in pixels or another measure?

Lorel

2:04 am on Jan 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I figured out the problem was caused by the css for the drop down not specifying enough font sizes/colors and it was picking up the regular link font sizes and colors. Everything is working fine now. If anyone wants to see this menu (free for personal or business use) it's on my site in profile--more info on menu sample page.