Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CSS styling issues in IE7

Posted on 2011-09-21
4
Medium Priority
?
393 Views
Last Modified: 2012-06-22
Hi,

A while back i fixed an issue i had on my website nav in IE7 at www.bluebean.org.uk. basically the problem was that my social links disappeared when in IE7. I was told to remove the zoom;1 from #megaMenu and add it to the #access-container. This worked however it also messed around with my nav, so now when you hover over it the margin seems to disappear.

Hope you can help

Andy
0
Comment
Question by:Andy6350
[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
4 Comments
 
LVL 15

Expert Comment

by:Eyal
ID: 36572955
I don't see any problem in IE7, are you sure there is a problem?

note: I have used IE7 mode in IE8
0
 

Author Comment

by:Andy6350
ID: 36579053
I am viewing it in IE8 using compatibility mode. When the website loads up it looks all fine with the nav container having a left margin of 118px. However when i hover over any menu item the nav bar shoots across to the left as if the margin no longer exists

0
 
LVL 15

Accepted Solution

by:
Eyal earned 2000 total points
ID: 36579349
try to change margin-left to padding-left
0
 

Author Comment

by:Andy6350
ID: 36579391
worked a treat, thank you
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
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 position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…
Suggested Courses

650 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