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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:10:55+00:00 2026-05-26T05:10:55+00:00

A typical CSS property that I use often is overflow-x or overflow-y . Sometimes

  • 0

A typical CSS property that I use often is overflow-x or overflow-y. Sometimes I use CSS 2.1 or later properties or selectors. These (correctly) raise a validation error:

Validation (CSS 2.0): 'overflow-y' is not a known CSS property name.

For years I ignored this, but it kinda feels wrong. It’s possible to switch off warnings in C# and other languages for a particular line, block, file or project. Is something similar possible for CSS (or HTML) errors or warnings? Instead of switching it all off, I prefer a more granular solution.

  • 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-26T05:10:56+00:00Added an answer on May 26, 2026 at 5:10 am

    If you’re willing to muck around a bit you can get exactly what you want.

    1. Go to Visual Studio folder \Common7\Packages\1033\schemas\CSS
    2. Copy css21.xml to css21mod.xml
    3. Find the section:

      <cssmd:property-def _locID="overflow" ...
      
    4. After that section, insert:

      <cssmd:property-def 
          _locID="overflow-x" _locAttrData="description,syntax" 
          type="enum" 
          description="Visibility of content extending beyond element's dimensions in x"
          syntax="One of the overflow values | inherit" 
          enum="inherit auto hidden scroll visible"/>
      
      <cssmd:property-def 
          _locID="overflow-y" _locAttrData="description,syntax" type="enum" 
          description="Visibility of content extending beyond element's dimensions in y" 
          syntax="One of the overflow values | inherit" 
          enum="inherit auto hidden scroll visible"/>
      
    5. Open regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{A764E895-518D-11d2-9A89-00C04F79EFC3}\Schemas

      If on 64-bit, you will have to go to SOFTWARE\Wow6432Node\Microsoft etc

    6. Create a new key called Schema 5, and fill in the “File” and “Friendly Name” string values with css21mod.xml and CSS 2.1 (mod)

    Should be all set!

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

Sidebar

Related Questions

Typical jQuery over-use: $('button').click(function() { alert('Button clicked: ' + $(this).attr('id')); }); Which can be
During a typical day programming, I implement functions in a way that I would
I need to simulate the look of a typical paper form in CSS. It
i have the typical cover page with the logining form that doesn't have the
IMHO the following is the typical 3-column-layout using CSS. Without the surrounding #main-div it
I am trying to create the typical header footer for a web app that
I work on a team that supports a mobile web site. It's a typical
I wrote a Javascript function that solves a typical problem: Given an HTML element,
The typical rule of thumb when it comes to using CSS sprites for images
Typical behaviour of validation is when there is an error display an asterisk left/right/under

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.