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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T02:00:29+00:00 2026-06-02T02:00:29+00:00

I use knockout js to render my UI. Besides I use reset.css to clear

  • 0

I use knockout js to render my UI. Besides I use reset.css to clear my styles. I have this in my reset css:

ol, ul {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
}

And in my style file:

.wysiwyg ol, .wysiwyg ul
{
    list-style: inherit !important;
    padding-left: 15px;
    margin-bottom: 10px;
}
.wysiwyg ol li
{
    list-style: decimal outside;
}
.wysiwyg ul li
{
    list-style: disc outside;
}

And the problem is in that the style for lists doesn’t applies in IE7. But when I use IE9 in emulation mode and press ‘Edit’ button and than save the markup everything goes OKAY.
So I think this is a problem of css classes chaining and inheritance.
Could someone help in advance how to force IE7 to use my css class?

  • 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-02T02:00:31+00:00Added an answer on June 2, 2026 at 2:00 am

    IE <8 has massive problems with inheritance. the easiest way to get around this is to redeclare the styles instead of inheriting, if that is possible for you.

    you could also try to use ie7-js, wich tries to make IE7 behaving like a standards-compliant browser. it works pretty good, but isn’t perfect: you may get problems when using a reset-stylesheet. just try it out and see if it works for you.

    a third possibility is to make use of IEs css-expressions like this (note: this is typed straight from my head, not tested – but you should get the idea):

    list-style:inherit; /* standards-compliant browsers */
    //list-style:expression(this.parentNode.currentStyle['listStyle']); /* IE */
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page that requires jQuery.tmpl, but I want to use native knockout
Suppose I have knockout.js template like this: <script type=text/html id=mytemplate> <label for=inputId>Label for input</label>
If I have HTML like this: <dsometext<f<legit></legit> whatever What regex pattern do I use
i try to write a custom list-binding. This is what i have so far:
In this example I want to use knockout.js to allow the Expand link to
use this website a lot but first time posting. My program creates a number
I am trying to use knockout to bind a click to a row in
Quite a few examples I see of using knockout when showing a list of
How can I force complete re-render of a template with knockout.js 1.3.0 beta I
I've started looking into using Knockout for my team's use; I've been very pleased

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.