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
    Page Visibility API

    One event that's always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?

  • By
    5 HTML5 APIs You Didn&#8217;t Know Existed

    When you say or read "HTML5", you half expect exotic dancers and unicorns to walk into the room to the tune of "I'm Sexy and I Know It."  Can you blame us though?  We watched the fundamental APIs stagnate for so long that a basic feature...

Incredible Demos

  • By
    CSS Background Animations

    Background animations are an awesome touch when used correctly.  In the past, I used MooTools to animate a background position.  Luckily these days CSS animations are widely supported enough to rely on them to take over JavaScript-based animation tasks.  The following simple CSS snippet animates...

  • By
    CSS Gradients

    With CSS border-radius, I showed you how CSS can bridge the gap between design and development by adding rounded corners to elements.  CSS gradients are another step in that direction.  Now that CSS gradients are supported in Internet Explorer 8+, Firefox, Safari, and Chrome...

Discussion

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