Override Vista and XP’s Themed Buttons and Scrollbars Using a META Tag

By  on  

The first thing I do to any fresh Windows XP or Vista install is change the theme to old-school "Windows Classic" theme. Square gray boxes, in my opinion, are much better than the awful "rounded", colored bars. The XP and Vista theme settings also bleed into Internet Explorer, shaping and color buttons in ways I don't want.

Luckily, using an HTML META tag, I can tell the browser to ignore the theme's settings and show the standard, gray button.

<meta http-equiv="MSThemeCompatible" content="No"/>

I'm not advocating this, simply showing how it can be done.

Recent Features

Incredible Demos

  • By
    FileReader API

    As broadband speed continues to get faster, the web continues to be more media-centric.  Sometimes that can be good (Netflix, other streaming services), sometimes that can be bad (wanting to read a news article but it has an accompanying useless video with it).  And every social service does...

  • By
    pointer Media Query

    As more devices emerge and differences in device interaction are implemented, the more important good CSS code will become.  In order to write good CSS, we need some indicator about device capabilities.  We've used CSS media queries thus far, with checks for max-width and pixel ratios.

Discussion

    Wrap your code in <pre class="{language}"></pre> tags, link to a GitHub gist, JSFiddle fiddle, or CodePen pen to embed!