1

how can i possibly detect if the browser used by a visitor is outdated or Internet explorer and display a banner at the of the page which will tell the visitor to upgrade its browser..

http://i.stack.imgur.com/I1GAk.png

user3258603
  • 139
  • 2
  • 16

3 Answers3

0
<!--[if lt IE x]>
   <img src="http://i.stack.imgur.com/I1GAk.png" alt="" />
<![endif]-->  

You can use this code as it is. Replace x by IE version you want to "outdate".

franchez
  • 557
  • 1
  • 7
  • 20
0

Here I found very sophisticated way to tell user about outdated-browsers:

brasofilo
  • 24,660
  • 15
  • 89
  • 174
Kushal J.
  • 911
  • 1
  • 12
  • 29
-1

If you want to detect if a browser support X or Y feature of HTML5 or CSS3, you have modernizr

you can generate a script HERE for detect just old browser and propose an upgrade

Clément Andraud
  • 8,707
  • 23
  • 75
  • 149