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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:01:03+00:00 2026-05-25T11:01:03+00:00

I recently decided to run the Resharper 6.0 Analyze Errors In Solution option on

  • 0

I recently decided to run the Resharper 6.0 “Analyze Errors In Solution” option on our web application. After several valid problems it picked up on, it has me stumped on some CSS ‘errors’:

(disclaimer: I am not a CSS person in the slightest, only understand the principles, so may use the wrong terminology – please bear with me!)

In our web application, we have some CSS selectors which follow this general pattern:

    .someselector{
        property:inherit
    }

This ‘inherit’ value has been used against the properties of:

  • padding
  • border-width
  • overflow

I realise that the ‘inherit’ value is not necessarily cross browser compatible, but I’m not worried about that (for now). What I don’t understand is why ReSharper is throwing its toys over its use as from what my research shows it is a valid CSS value (albeit not widely supported)?
http://reference.sitepoint.com/css/inheritvalue and http://www.w3.org/TR/CSS2/cascade.html#value-def-inherit

I’m assuming there’s something I don’t know about the inherit value and its use and would appreciate any enlightenment someone can provide. I am equally happy if an experienced CSS developer can tell me the CSS is valid and ReSharper is wrong. Just looking for clarity of which is right!

Thanks in advance!

  • 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-25T11:01:03+00:00Added an answer on May 25, 2026 at 11:01 am

    This has been confirmed as a bug (outside of Stack Overflow) and I have lodged a bug report with JetBrains to fix it. The CSS listed above is indeed valid.

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

Sidebar

Related Questions

I've recently started a web application and decided to use url routing in it
The software group I currently work in has recently decided to start documenting our
I am running a web application on BEA Weblogic 9.2. Until recently, we were
I recently decided to crawl over the indexes on one of our most heavily
I have recently decided to add a ViewFlipper to my application, here is what
We recently upgraded our application to .Net 4.0. We were using MbUnit 2.x. With
I've recently decided that I just have to finally learn C/C++, and there is
i am quite familiar with Smarty and recently decided to use Zend framework in
I've been working with some event handling in Javascript and recently decided to migrate
This is starting to vex me. I recently decided to clear out my FTP,

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.