我在Fireworks中设计了一个页面,然后在CSS切片中将其导入Dreamweaver。我希望最后一个切片(indexr4c1)停留在页面的底部,当中间切片(indexr3c2)中的内容溢出它的底部时,我不知道这是否可行我的方式...这是我的代码:
<html>
<head>
<title>index.gif</title>
<meta http-equiv="Content-Type" content="text/html;iso-8859-1">
<meta name="description" content="FW MX CSS Layer">
<style type="text/css">
#indexr1c1 {
position:absolute;
left:0px;
top:0px;
width:955px;
height:143px;
background-image:url(index_r1_c1.gif);
}
#indexr2c1 {
position:absolute;
left:0px;
top:143px;
width:955px;
height:56px;
background-image:url(index_r2_c1.gif);
}
#indexr3c1 {
position:absolute;
left:0px;
top:199px;
width:185px;
height:326px;
background-image:url(index_r3_c1.gif);
}
#indexr3c2 {
position:absolute;
left:185px;
top:199px;
width:608px;
height:326px;
background-image:url(index_r3_c2.gif);
}
#indexr3c3 {
position:absolute;
left:793px;
top:199px;
width:162px;
height:326px;
background-image:url(index_r3_c3.gif);
}
#indexr4c1 {
position:absolute;
left:0px;
top:525px;
width:955px;
height:75px;
background-image:url(index_r4_c1.gif);
}
</style>
</head>
<body bgcolor="#ffffff" >
<div id="indexr1c1"></div>
<div id="indexr2c1"></div>
<div id="indexr3c1"></div>
<div id="indexr3c2"></div>
<div id="indexr3c3"></div>
<div id="indexr4c1"></div>
</body>
</html>
非常非常感谢您的回复:)