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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:56:32+00:00 2026-05-13T00:56:32+00:00

I have several pages and one stylesheet. The page bodies get two classes: Their

  • 0

I have several pages and one stylesheet.
The page bodies get two classes: Their name, and the language.
For example:

<body class="contact english">

Now, in the stylesheet, I have an special rule for the german version of the “expertise” page:

 body.expertise.deutsch .container
  {
    width: 590px;
  }

In IEs 6, 7, and 8, this style gets consistently applied not only to

<body class="expertise deutsch">

but to every body element on every page.

When I remove the “body”:

.expertise.deutsch .container
  {
    width: 590px;
  }

it works as intended and applies only to “expertise deutsch”.

Am I daft? Blind? Overlooking the obvious?

Is this intended behaviour, a known bug, or neither?

I can’t find anything except that from IE 8, IE is supposed to handle multiple selectors.

Because it has been misunderstood: “Every body element” of course refers to separate body elements on separate pages that all include the same style sheet.

  • 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-13T00:56:32+00:00Added an answer on May 13, 2026 at 12:56 am

    As I understand it, IE6 doesn’t understand the difference between body.expertise.deutsch and body.deutsch. It only picks up the last class in the chain. Ryan Brill has more on it here.

    I’m not sure if IE7 or 8 fixed it, but if they did you’ll probably need to be in standards mode for it to work (easiest way is to include a strict or HTML5 doctype at the top of the document).

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

Sidebar

Related Questions

On one of my ASP.NET pages I have several asp:textbox fields. On this page
I have several content pages hanging off of one master page. I need to
I have a PrintDocument that has several pages. One page in that document must
I have several dropdowns on the page one under another, and would like to
I have several forms on one page which are submitted using ajaxForm and show
If you have several view models on one page, how do you ensure that
I have a page of several videos. One can click a thumbnail to play
i have a page that contains several submit buttons however i only want one
I have a page that contains several forms, by submitting each one of them,
I have several pages to do with several table on each page. I've got

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.