Advertisement
fhumayun

Deny IE

May 22nd, 2011
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.16 KB | None | 0 0
  1. <!-- Deny IE and old Browsers -->
  2.  
  3.   <!--[if lt IE 10]>
  4.  <div style='border: 1px solid #F7941D; background: #ffffe5; text-align: center; clear: both; height: 75px; position: relative;'>
  5.    <div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode.style.display="none"; return false;'><img src='http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg' style='border: none;' alt='Close this notice'/></a></div>
  6.    <div style='width: 640px; margin: 0 auto; text-align: left; padding: 0; overflow: hidden; color: black;'>
  7.      <div style='width: 75px; float: left;'><img src='http://i23.photobucket.com/albums/b370/fhumayun/ie-100.png' alt='Warning!' width="80" height="80"/></div>
  8.      <div style='width: 275px; float: left; font-family: Arial, sans-serif;'>
  9.        <div style='font-size: 14px; font-weight: bold; margin-top: 12px;'><img style="display: inline; float: left" alt="Warning!" align="left" src="http://i23.photobucket.com/albums/b370/fhumayun/exclamation-1.png">IE Users Notice:</div>
  10.        <div style='font-size: 12px; margin-top: 6px; line-height: 12px;'>For a better experience using this site, please consider these alternatives:</div>
  11.      </div>
  12.      <div style='width: 75px; float: left;'><a href='http://www.firefox.com' target='_blank'><img src='http://i23.photobucket.com/albums/b370/fhumayun/Firefox.png' style='border: none;' alt='Get Firefox'/></a></div>
  13.      <div style='width: 75px; float: left;'><a href='http://www.opera.com/' target='_blank'><img src='http://i23.photobucket.com/albums/b370/fhumayun/Opera.png' style='border: none;' alt='Get Opera'/></a></div>
  14.      <div style='width: 73px; float: left;'><a href='http://www.apple.com/safari/download/' target='_blank'><img src='http://i23.photobucket.com/albums/b370/fhumayun/Safari.png' style='border: none;' alt='Get Safari 4'/></a></div>
  15.      <div style='float: left;'><a href='http://www.google.com/chrome' target='_blank'><img src='http://i23.photobucket.com/albums/b370/fhumayun/browser-chrome.png' style='border: none;' alt='Get Google Chrome'/></a></div>
  16.    </div>
  17.  </div>
  18.  <![endif]-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement