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 583575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:48:26+00:00 2026-05-13T14:48:26+00:00

I am working on a pure CSS dropdown menu. (IE6 is not important to

  • 0

I am working on a pure CSS dropdown menu. (IE6 is not important to me right now.)

I have everything inside of a “wrapper” div for centering.

The page has 4 divs inside of “#wrapper” the first being “#topbar”, the second the “#nav”, the third a “#content” box and the fourth, a “#footer”.

The “#content” and “#footer” divs have absolute positioning to stop them from jumping down when a submenu is exposed. This works in IE8 and Chrome and FF, but IE8;s compatibility mode show that IE7 will render the “#content” and “#footer” div off to the left of the centered column. Also, absolute positioning is used to keep the footer on the bottom of the page. removing it fixes the ie7 bug, but it causes everything to shift down when the submenus are exposed.

Is there a way to fix IE7’s rendering of a left margin on the bottom divs without absolute positioning? or with it?

I prefer pure CSS.

EDIT:

Believe it or not, I’m using a bunch of span elements, not ul or div. Should I be using ul/li structure? I find it to be extra code.

  • 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-13T14:48:27+00:00Added an answer on May 13, 2026 at 2:48 pm

    If IE6 is not important, have you considered ignoring IE7 too?

    Anyway, since you didn’t post your codes, a quickfix will be to use IE conditional comments and place it below the rest of the CSS definitions/links.

    <!--[if IE 7]>
    <style type="text/css">
      .className {position: static;/*or relative*/}
    </style>
    <![endif]-->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a div inside an li as part of a top navigation for
Okay so I'm working in pure as3 (no creative suite or xml). I have
My question is related to HTML, and PURE html. I am working on a
Working on a project at the moment and we have to implement soft deletion
I have been working on facebook application and you know on facebook native javascript
I want to alternate rowcolor in a GridView, using pure CSS, ie: I don't
How is the sort() working in matlab? Code in pure matlab: q is an
I have a designer working at the ASPX level. He doesn't do C#, doesn't
If you have an application with a GUI totally working on 2D drawing, what
Sorry guys, it's another CSS height 100% (sortof) question... I have a layout like

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.