摘要:
文章转载自: http://www.ludou.org/2-way-to-detect-browser.html为了把 Internet Explorer 给揪出来,我们需要检测访客的浏览器Browser类型。例如,你制作的网页在 Internet Explorer 中无法正常运行,或者你已经对 Internet Explorer 完全死心了,这时你可以阻止 Internet Explorer 用户访问你的网站,如ProjeKt D.K is loading,作者并不欢迎你使用 IE 浏览他的网站,所以你还是换个浏览器吧。当然了,完全阻止IE用户访问的做法还是太极端了,有时候我们只是想限制或只 阅读全文
posted @ 2012-12-13 14:36
sunshine静
阅读(456)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html> <html> <head> <title>Css Hack</title> <style> #test { width:300px; height:300px; background-color:blue; /*firefox*/ background-color:red\9; /*all ie*/ background-color:yellow\0; /*ie... 阅读全文
posted @ 2012-12-13 11:23
sunshine静
阅读(169)
评论(0)
推荐(0)