Solved

Firefox CSS problem with background colour on the menu line

Posted on 2010-11-19
5
332 Views
Last Modified: 2012-06-27
Hi
I am making a site new.adpp-mozambique.org and in order to fix the red background after the superfish menu, i have added a "red" picture and it looks ok in Internet Explorer but not in firefox

Anyone has an idea how I can get this sorted so it sees the background picture in Firefox as well.
If possible I am looking for a CSS way to resolve it as i am not very good in creating new containers/divs etc in the Index.php file

The site is a Joomla site

Regards
Morten

0
Comment
Question by:morten444
  • 2
  • 2
5 Comments
 
LVL 14

Expert Comment

by:ali_kayahan
ID: 34177742
is there any spaces in pciture name ? is there a link or source code for related page?
0
 
LVL 14

Expert Comment

by:Designbyonyx
ID: 34177778
In the superfish.css on line 3 you have the following style:

.sf-menu, .sf-menu * {

}

Use that... add your background color/image there.
0
 

Author Comment

by:morten444
ID: 34179243
Hi
The code:
.sf-menu, .sf-menu * {         }

Only change the background of the menu buttons. Not the white area to the right where you have the translation buttons, so that does not work. That white space is not conrtrolled by Superfish, unless I can add a code to superfish to fill 100% of the page

Regarding the picture if it has a space.
To be honest it might not be a picture. I tried that first, but think that I later found a way to set the background to red and it works in IE. I have been looking through for the last 2 hours, but cant find the place in the CSS file, however it only works in IE, not Firefox.

I am still looking into it and will post if i find out more

Any other idears?

Thanks so far
Morten
0
 
LVL 14

Accepted Solution

by:
Designbyonyx earned 500 total points
ID: 34181912
The sfmenu is actually filling in the whole width, but since the list items (<li>) inside of it are floated to the left, the sfmenu is not "aware" of how tall it is... so to speak.

Anyhow.  Ignore my last comment, and do this instead:

superfish.css - Line 11

.sf-menu {
  background-color: #C33;
  min-height: 2.5em;
  border-bottom: 1px solid #000;
  line-height: 1;
}
0
 

Author Closing Comment

by:morten444
ID: 34184462
Hi
You are a star !!
Thanks for your help
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: blockā€¦
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question