本文使用的DIV+CSS三部份如图示:
IE6中,CSS如果写成如入代码:
background-image: url(images/menu_bottom.gif);
底部显示的效果是:
修正代码:
background: url(images/menu_bottom.gif) repeat-x;
在顶部时的效果是:
background: url(images/menu_top.gif) repeat-x; /*还要加上自适应才行*/ overflow:hidden; zoom:1;
修正后的效果: