IE7 detection, issues, redirect ?


hi there, i've made site looks crap on ie7 (of course),
i'd detect ie7 , redirect page tells users to
upgrade browsers.
know can provide alternate stylesheet ie7 users, for
specific site, i'd redirect page i've made that
notification on it.
:d

also, reason, this:

code:
<!--[if lte ie 7]<link rel="stylesheet" href="ie7.css"/>[endif]-->
doesn't seem work...
 

right, tried various different methods, 1 worked this:

code:
<script language="javascript"><!--  if (navigator.useragent.tolowercase().indexof('7.0') != -1) {  document.write("<link rel='stylesheet' href='ie7.css' type='text/css'>");  }    // --></script>
 


Forums Special Interests Web Design and Development


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments