Solved

Navigation list displays wrong in internet explorer 7

Posted on 2011-02-26
6
315 Views
Last Modified: 2012-05-11
Site http://tinyurl.com/4bglp4j - Joomla! CMS - has a problem in Internet Explorer 7. The navigation is display twice somehow. I mean, somehow the link blocks are shown next to the navigation itself. I think it is related to this CSS snippet from default.css:
#mainNav ul li a {
    background: none repeat scroll 0 0 transparent;
    color: #FFFFFF;
    display: block;
    float: right;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 19px;
    height: 37px;
    margin-top: 5px;
    padding: 2px 18px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}
#mainNav ul li a:hover {	
margin-top: -3px;
display: block;
background: url(../images/hover_main_nav.png) repeat-x;
vertical-align: middle;
padding top: 10px;
height: 38px

Open in new window

No idea yet how though. Any ideas?
0
Comment
Question by:rhandalthor
[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
  • 3
  • 2
6 Comments
 
LVL 17

Expert Comment

by:nanharbison
ID: 34989155
Can you take a screen shot so we can see what you mean. I don't have IE7.
0
 
LVL 8

Accepted Solution

by:
Zado earned 500 total points
ID: 34991508
Try to replace "#mainNav ul li a" and "#mainNav ul li a:hover" properties with this:
#mainNav ul li{
	float:right;
	border-left:1px solid #8a8a8a;
	margin-top:5px;
	height:37px;
	vertical-align:middle;
}
#mainNav ul li a{
	color:#FFF;
	font-family:Arial,Helvetica,sans-serif;
	font-size:19px;
	float:right;
	text-decoration:none;
	padding:2px 18px;
	text-align:center;
	margin-top:5px
}

Open in new window

0
 
LVL 8

Expert Comment

by:Zado
ID: 34991510
Sorry, I meant replace "#mainNav ul li" and "#mainNav ul li a" obviously.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rhandalthor
ID: 35024613
I asked the owner to apply suggested solutions. Waiting for his actions at the moment. As soon as he has I will pot back.
0
 

Author Comment

by:rhandalthor
ID: 35068353
Closing and awarding point. Cannot wait for owner to follow up forever.
0
 
LVL 8

Expert Comment

by:Zado
ID: 35068451
Thanks for accepting my comment.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

739 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