精靈圖:利用ps等圖像處理技術,將頁面中所涉及的小的圖像整合到一張圖上。
優點:1請求次數少,減少服務器的壓力。2i.方便圖像管理
缺點:不利於圖像的維護
background背景的修飾
1background——color;
2background-image:
3background-position:
4background-repeat:
5backgrond-attachment:
表格的修飾
position:設置position屬性的元素,可以相對自身原有位置或祖先元素或相對於瀏覽器窗口做位移。屬性值有,
relative,相對定位
absolute,絕對定位
fixed,固定定位
static.靜態定位