Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 940577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:58:49+00:00 2026-05-15T21:58:49+00:00

I have some drop down menus that don’t seem to be aligning nicely in

  • 0

I have some drop down menus that don’t seem to be aligning nicely in IE8 – they are aligning well in Firefox 3 and IE7. Specifically, the dropdowns seem to be ignoring my right:0; style. A picture says a thousand words so this is what it looks like:

Misaligned menu http://lh5.ggpht.com/_gXJgvXl6JFY/TEf9v1BmECI/AAAAAAAAAA4/iGF-Wi8CTyU/misaligned%20menu.png

As you can see, the right side of the dropdown should be aligning with the right side of the highlighted “admin” li but it appears to be in the middle.

The important dropdown css styles are:

.ajs-menu-bar .ajs-drop-down {
left:auto;
right:0;
}

The important “admin” li styles are:

.ajs-menu-bar .ajs-menu-item, .ajs-menu-bar .ajs-button {
float:left;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
position:relative;
}

And the HTML for that bit is:

<li class="normal ajs-menu-item">
<a href="#" class="user trigger ajs-menu-title" id="user-menu-link"><span><span>admin</span></span></a>         
<div class="ajs-drop-down" style="width: 111px;">
<ul class="section-user-status first" id="user-menu-link-user-status">
... bunch of <li>s               
</ul>
</div>
</li>

If anyone could shed some light that would be great, just driving me a bit nuts :(.

Thanks in advance!!!!

Cheers,
Jenny

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T21:58:50+00:00Added an answer on May 15, 2026 at 9:58 pm

    I would recommend a separate stylesheet for IE8 aimed specifically at the menu. This is the only way to make changes for IE8 and not the other browsers that display fine.

    The code below probably isn’t exact (with regard to singling out a browser), but it should give you an idea what to do…

    <![If lt IE7]>
        <link href="ie8.css" type="text/css" rel="stylesheet" />
    <![End If]-->
    

    Once you’ve done that, copy the css for your menu into this file (as is) and change the margins for the drop down:

    .ajs-menu-bar .ajs-drop-down {
    left:auto;
    right:0;
    margin-right: 40px !important;
    }
    

    If changing the right margin as shown here doesn’t work, try setting the left margin to a negative value.
    I know, the idea seems ludicrous, but in my research into Liquid Design, I’ve found that it’s sometimes the ONLY way to get something right.

    HTH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some php code that is creating an html table. Within it I
For some reason, z-index is working for one particular element in IE8, but not
earlier I asked for help disabling a Button when a drop down menu item
I have been trying to post some variables to a site using POST method,
I have a dropdown menu with a couple of values that link to functions.
I'm trying to filter through some images. Each image has 3 sets of values
I'm having some issues with Javascript content on Internet Explorer, specifically, a page will
I am building an ASP.NET MVC web application and I'm using jQuery for some
I am still fairly new to Stackoverflow, so forgive me if I am doing
What I need is a simple color picker (max 6-8 color) so the user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.