ie7
- 不接受tr border屬性
- tr 背景圖片不接受 .png
ie7
把 iepngfix.htc 和 blank.gif 這兩個檔案放到你的CSS資料夾裡,在你的CSS檔案裡加上以下語法:
img{behavior: url(iepngfix.htc);}
下載檔案位置:http://www.twinhelix.com/css/iepngfix/
參考網址:
http://blog.roodo.com/waking_life/archives/3038653.html
將只支援IE的樣式表寫在ie.css,
W3C測試網頁CSS時會忽略這個檔案,
你就能同時擁有標準與IE專屬樣式的雙重好處。
也可以針對IE瀏覽器版本來指定樣式,如下範例:
<!--[if IE 6]>
<h5>版本 6</h5>
變換網頁樣式呈現不同風格(cookie):變更頁面所要引入的css檔,可應用在版面風格、顏色版面設計
head
-----------------------------
<link rel="stylesheet" type="text/css" href="style.css" title="default">
<link rel="stylesheet" type="text/css" href="style1.css" title="style_one">
<link rel="stylesheet" type="text/css" href="style2.css" title="style_two">
<script type="text/javascript" src="styleswitcher.js"></script>
flash置底的方法,讓 div等其他頁面元素在flash上層
五.27, 2010 in WebDesign
但是如果你在DW中插入動畫,再加
<param name=”wmode” value=”transparent”>
是不生效的。要把整個的flash插件代碼換成如下:
<object type=”application/x-shockwave-flash” data=”http://www.our-way.cn/banner.swf” width=”560″ height=”210″>
<param name=”movie” value=”http://www.our-way.cn/banner.swf” />
ex:
<base href="http://watermeloner.pixnet.net/blog" target="_blank">
參考網址:http://dob.tnc.edu.tw/themes/old/showPage.php?s=1781&t=3
================
網頁target 指向統一
<head>