[SOLVED] Menu item not showing properly in IE

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

[SOLVED] Menu item not showing properly in IE

Post by luminous »

Hi

I'm working on one of my first sites and the last menu item I have is not positioning correctly.  I have a "No Callout" image that is absoluted positioned, and is therefore meant to sit on top of everything.  It should not be interacting with the menu.  In Firefox etc it works, in IE it does not.

Its the data recovery menu item on the far right that is the problem :(

Link:
http://www.abytecomputers.co.uk/home/
Last edited by luminous on Fri Sep 03, 2010 11:03 am, edited 1 time in total.
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

Re: Menu item not showing properly in IE

Post by luminous »

OK, it has nothing to do with the images as far as I can tell.

Its something to do with margins and padding, without margins and padding the menu seems to work.  I just cannot for the life of me see why that one menu item is dropping down in IE8
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

Re: Menu item not showing properly in IE

Post by luminous »

Solved:

I had a style:
li {margin-left:20px;}

This was being used successfully on a sidebar list, but for some reason the menu picked it up and was causing havoc.

Replaced the style with
.sidebar ul {margin-left:40px;}  (this was at 20px to start with)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [SOLVED] Menu item not showing properly in IE

Post by Dr.CSS »

If you just put li {some style} all li items will pick it up...
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

Re: [SOLVED] Menu item not showing properly in IE

Post by luminous »

Dr.CSS wrote: If you just put li {some style} all li items will pick it up...
Roger that :-)
Post Reply

Return to “Layout and Design (CSS & HTML)”