Solved

Clearing floated nav issues in IE7

Posted on 2011-09-16
2
285 Views
Last Modified: 2012-05-12
Hi,

I have a listed menu on the following website www.bluebean.org.uk/batemans/ however in IE7 my floated nav is appearing incorrect. I know its an issue with not clearing the floats, but i am unsure as to where to clear them, i have tried a few options but didnt work.

Please can someone help.

Cheers

Andy
0
Comment
Question by:Andy6350
2 Comments
 
LVL 16

Expert Comment

by:SSupreme
ID: 36550626
you need to style list:
li
{
display:inline;
float:left;
width: 100px;
}
0
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 500 total points
ID: 36550669
You're clearing stuff OK. But the li's in the nav are not floated.

Add this to your styles.css file:

 
.nav ul li{
float:left;
display:block;
}

Open in new window

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

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!
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
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…

840 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