Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Firefox CSS problem with background colour on the menu line

Posted on 2010-11-19
5
Medium Priority
?
337 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Suggested Courses

730 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