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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:47:24+00:00 2026-05-10T22:47:24+00:00

is there any way to make IE6 understand double classes, say I have a

  • 0

is there any way to make IE6 understand double classes, say I have a class MenuButton with a color class and possibly a clicked class; like :

.LeftContent a.MenuButton {..general rules..}   .LeftContent a.MenuButton.Orange {..sets background-image..}   .LeftContent a.MenuButton.Clicked {...hum ta dum...} 

Now, IE6 understands <a class='MenuButton Orange'>, but when adding Clicked, like <a class='MenuButton Orange Clicked'>, IE just ignores the Clicked rule.

Of course, I could rewrite my CSS, and have own rules for .MenuButtonOrange
and such (and it’d probably taken a lot shorter time than asking this question ;-),
but golly, it just so unappealing and Web 0.9…

Cheers!

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-10T22:47:24+00:00Added an answer on May 10, 2026 at 10:47 pm

    IE6 doesn’t support multiple class selectors. The reason you see a change with the Orange class is because a.MenuButton.Orange is interpreted by IE6 as a.Orange.

    I recommend structuring your markup in such a way that you can work around this:

    <div class='leftcontent'>    <ul class='navmenu'>      <li><a class='menubutton orange' href='#'>One</a></li>      <li><a class='menubutton orange clicked' href='#'>Two</a></li>    </ul> </div> 

    By grouping by a more specific ancestor you can create variation with classes scoped by that ancestor (in this example navmenu):

    .leftcontent .navmenu a { /* ... basic styles ... */ } .leftcontent .navmenu a.orange { /* ... extra orange ... */ } .leftcontent .navmenu a.clicked { /* ... bold text ... */ } 

    It’s not as good as multiple classes, but I’ve used it to work around the lack of support in IE.

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

Sidebar

Related Questions

Is there any way to make a list of classes behave like a set
Is there any way to make a class instance return a value which is
Is there any way to make this solution IE6 and IE7 compatible? http://jsfiddle.net/kirkstrobeck/sDh7s/1/ Pulled
Is there any way to make software builds / compilation faster ? We have
Is there any way to make the text align left and justify as same
Is there any way to make a DataTemplate reference itself just from XAML? In
Is there any way to make the form semi-transparent while it is being moved
Is there any way to make the program sleep until an event occurs, but
Is there any way to make two controls that are in different containers the
Is there any way to make this work in Java? public static void change(List<?

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.