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

  • SEARCH
  • Home
  • 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 8627643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:19:55+00:00 2026-06-12T08:19:55+00:00

I have a problem with Internet Explorer and of course it works prefect in

  • 0

I have a problem with Internet Explorer and of course it works prefect in other browsers. So I have a CSS clases. I am making a something like a frame which has got a left, middle and right part, but with three different color schemes. So I don’t want to make 9 different classes and I use CSS power like this example:

.container-header .left { /* Some styles here... */ }
.container-header .left.style1 { /* Some styles here... */ }
.container-header .left.style2 { /* Some styles here... */ }
.container-header .left.style3 { /* Some styles here... */ }

.container-header .middle { /* Some styles here... */ }
.container-header .middle.style1 { /* Some styles here... */ }
.container-header .middle.style2 { /* Some styles here... */ }
.container-header .middle.style3 { /* Some styles here... */ }

.container-header .right { /* Some styles here... */ }
.container-header .right.style1 { /* Some styles here... */ }
.container-header .right.style2 { /* Some styles here... */ }
.container-header .right.style3 { /* Some styles here... */ }

Everything was perfect and then I opened Internet Explorer. In my HTML I have a simple construction like this:

<div class="container-header">
    <div class="left style1"></div>
    <div class="middle style1"></div>
    <div class="right style1"></div>
</div>

The problem is that IE has got own opinion and skip all of the CSS styles before the last element in the code. I mean that left style1 and middle style1 are rendering with the right style1 styles. I have no idea how to make IE to read the styles before this and not to skip them. I will be very happy if anyone write his opinion. Thanks 🙂

PP: Sorry for my bad English. 🙁

  • 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-06-12T08:19:56+00:00Added an answer on June 12, 2026 at 8:19 am

    Your page is probably in quirks mode, so you need to add a doctype declaration to your page for it to render in standards mode.

    Quirks mode in IE has a bug that causes it to read only the last class in a chain of class selectors, so it’s treating your rules like this:

    .container-header .left { /* Some styles here... */ }
    .container-header .style1 { /* Some styles here... */ }
    .container-header .style2 { /* Some styles here... */ }
    .container-header .style3 { /* Some styles here... */ }
    
    .container-header .middle { /* Some styles here... */ }
    .container-header .style1 { /* Some styles here... */ }
    .container-header .style2 { /* Some styles here... */ }
    .container-header .style3 { /* Some styles here... */ }
    
    .container-header .right { /* Some styles here... */ }
    .container-header .style1 { /* Some styles here... */ }
    .container-header .style2 { /* Some styles here... */ }
    .container-header .style3 { /* Some styles here... */ }
    

    This also affects IE6 in standards mode, for which the only workaround is to assign unique classes to your HTML elements. Also see this answer for an illustration.

    As a side note, this isn’t an inheritance error, but a cascading error (or rather, a selector parsing error resulting in bad cascading).

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

Sidebar

Related Questions

I have a problem using AJAX .post in Internet Explorer. In all other browsers,
I'm having a problem in Internet Explorer, it works fine with Firefox. I have
I have a problem in image unlink in Internet Explorer, but it works in
I have a problem with internet explorer 6 and 7, please look this example
i have a problem with running my jQuery scripts in Internet Explorer at my
I have a problem with web service against Internet Explorer 7 or 8 I
I have a problem with the use of the datepicker in Internet explorer. In
I am having the following problem under Internet Explorer 7/8: I have a popup
I have a problem with using HTML5 elements in Internet Explorer 7 and up
I have this problem of an image rollover javascript not working in Internet Explorer

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.