Encourage IE Users to Upgrade to a Modern Browser

Published Monday, August 27, 2007 in Other

I'm getting seriously fookin fed up wiv IE and the fact that so many people still use it regularly.

If you've ever visited exscale.se using IE you may have noticed a small warning-label at the top of the page, and I encourage everyone who's serious about modern web development to start using something similar.

IE warning

I've put mine in a conditional comment (<!--[if IE]> so every version of IE gets it) and then styled it to look like a normal IE-warning at the top.

If you're feeling lazy you can copy/paste the code I'm using.

HTML

Put this directly beneath the opening body-tag:

<!--[if IE]>
    <div id="ie-warning">

        <p>Your browser is outdated and unsafe. For a richer browsing experience, please consider upgrading to a <a href="http://www.getfirefox.com">better, modern browser</a>.</p>

    </div>
<![endif]-->

CSS

#ie-warning {
    background: #FFFFE1 url(ie-warning.gif) no-repeat 5px 50%;

    margin: 0;
    padding: 7px 10px 7px 30px;

    border-bottom: 1px solid #767E85;
}

    #ie-warning p {
        margin: 0;

        font: 12px/1 Arial;
        color: #000;
    }

        #ie-warning p a {
            color: blue;
            text-decoration: underline;
        }

        #ie-warning p a:hover {
            color: red;
        }

You'll need the ie-warning.gif file as well if you are to use my code:

Imagine if IE was the least used browser, imagine not having to give two shits about that crappy piece of bug-infested rubbish.
What a wonderful job this would be then.


Bookmark It

  • del.icio.us
  • Digg
  • Furl
  • Google
  • Technorati
  • Ma.gnolia
  • BlinkList
  • Blogmarks
  • Rojo
  • StumbleUpon

Comments

2 comments so far, why don't you post one too?

physio

Tuesday, January 13, 2009 | View all comments by physio

A screenshot of how this looks would be a nice addition for those of us without access to IE6.

Andreas

Wednesday, January 14, 2009 | View all comments by Andreas

@Physio - screenshot up.


Comments closed

Comments are closed



Post It

From June 02 to April 23

  1. Mogrify is what you're looking for if you want to convert multiple images to multiple other images in ImageMagick
  2. Tommorrow, finally, the inFamous demo will be friggin availble on PSN!! Suweeeeeeeeet
  3. Fuck canvas is cool, I've started playing around with old 3D-shit again :)

September 2010

S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30


Recent Comments

  1. Vlad on A follow-up to "An alternative to div overlays":
    I'll try this.....
  2. Steve on jQuery Live Ajax Search Plug-in:
    This is a great script but I've got...
  3. Frank on jQuery Live Ajax Search Plug-in:
    Hey, sounds like a great plugin! I ...
  4. Andreas on jQuery Drag to Select Plug-in:
    @Paul - I didn't take into account ...

Style Switcher

The style switcher allows you to change the look and feel of exscale.se.
Only CSS and JavaScript are changed. The XHTML stays the same.

For more information about the styles, check the styles page.


Categories


Random Quote

Kolla hur jag flog flyg flög! - The Dean


Random Images




Answer This!

Do you find the "scroll-pagination" annoying? (If you don't know what it is, scroll to the bottom of the first-page)


Blog Roll