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

  • By
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...

  • By
    Convert XML to JSON with JavaScript

    If you follow me on Twitter, you know that I've been working on a super top secret mobile application using Appcelerator Titanium.  The experience has been great:  using JavaScript to create easy to write, easy to test, native mobile apps has been fun.  My...

Incredible Demos

Discussion

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