IE10瀏覽器 默認的文檔模式爲IE7標準,無法更改
解決方法:在head標籤裏添加如下代碼:
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
解決方法:在head標籤裏添加如下代碼:
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
文字的設置 顏色 div{ color: #FF0000; color: red; color: rgb(255,0,0); color: rgba(255,0,0,0.5); } 設置顏色有以
在 img 元素中添加 title 屬性: <img src="images/logo.gif" alt="bupt_logo" title="bupt"/>