Solved

Firefox CSS problem with background colour on the menu line

Posted on 2010-11-19
5
334 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SuperAntiSpyware Licenses Discounted by 25% !

Exclusive offer to Experts Exchange Members!
Buy SuperAntiSpyware License(s) from us and save 25% on the regular purchase price.
- Includes Full SuperAntiSpyware Vendor Support Entitlements
- Your Subscription does not begin until you activate your license
- Buy for your friends

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!
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

751 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