it is fine to theme .links in IE, but doesn't take effect in firefox. what do deal with it?

thanks a lot.

Comments

ultimateboy’s picture

Most likely, it is a firefox cache problem.. Try holding the Shift key while clicking re-fresh. This will load the page without accessing the cache.

--matt tucker
http://www.monarch-digital.com

-- matt tucker

sisyphus’s picture

thanks for your advice. but it seems not the cache problem. i reboot the computer several times.

the exact problem is .links a {}. it works in IE but not in firefox. i m using bluemarine.

i just switch to firefox for site development. it seems that there are so much css compatibility problems.

dr00b’s picture

Actually, FF is much better than IE with CSS rendering. Rule of thumb is, develop in standards-based browsers first (FF, Opera, etc.), then fix for IE, not the other way around.

The Firebug suggestion was a good one. also recommend Web Developer toolbar. When debugging in iExploder, try the MS Developer Toolbar.

~drOOb

themegarden.org’s picture

sisyphus’s picture

thanks a lot

but could anyone look into the problem of .links a {}? it is basic and simple. it works in IE normally. but takes no effect in FF.

i m using bluemarine. i just want to change the font-weight: bold to normal; and font-size: 70% etc. i suppose these are so simple. i looked into the source and didn't see any hints.

thanks.

steve-psngs’s picture

I have a similar problem on 2 different sites using drupal 5 with bluebreeze & drupal 6 with bluecurves.
For some reason the active links in the sidebars are always black in Firefox. In IE they are the correct colour.
I've looked everywhere for the problem, used Firebug, web dev toolbar & they didn't show any problems.
I've modified the css entry, even removing it buty nothing seems to work.
My active links are always black.
I think that the css class is being overridden by another further down the stylesheet.

sisyphus’s picture

i guess these are caused by PHP Template engine. could anyone specialized in this area to check it?

thanks.

steve-psngs’s picture

update : found the solution which was in CSS Tips in documentation :

This tips allows you to highlight, or show the focus on, the menu item your user is currently on. By default, Drupal just turns the item black. This tip places a box around the item. One nice "extra" to it, is that it also works on the book navigation block as well.

.menu .leaf .active {border:1px solid #D2691E;}

I know this tip works in Bluemarine and Pushbutton, but should work in all themes.

Use a color that contrasts with, but compliments your menu color scheme.

http://drupal.org/node/124420

I was glad to be able to finally get rid of the active black links.