用JS代码拼接图片问题 用JS代码拼接图片后,怎么让拼接后的整个图像作为一个层的背景? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 通过background-position给定位,比较麻烦我个人感觉 图片素材发给我好么[email protected] 这是最简单的解决方案了<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <style type="text/css"> body { margin:0; } #div1 { background: url(1.jpg); width: 250px; height: 176px; float:left; } #div2 { background: url(2.jpg); width: 250px; height: 176px; float:left; } #div3 { background: url(3.jpg); width: 250px; height: 176px; float:left; } #div4 { background: url(4.jpg); width: 250px; height: 176px; float:left; } #div5 { background: url(5.jpg); width: 250px; height: 176px; float:left; } #div6 { background: url(6.jpg); width: 250px; height: 176px; float:left; } #div7 { background: url(7.jpg); width: 250px; height: 176px; float:left; } #div8 { background: url(8.jpg); width: 250px; height: 176px; float:left; } #div9 { background: url(9.jpg); width: 250px; height: 176px; float:left; } </style> <script type="text/javascript"> </script></head><body> <div style="width:750px;z-index:1"> <div id="div1"> </div> <div id="div2"> </div> <div id="div3"> </div> <div id="div4"> </div> <div id="div5"> </div> <div id="div6"> </div> <div id="div7"> </div> <div id="div8"> </div> <div id="div9"> </div> </div> <div style="position:absolute;left:0px;height:0px;width:750px;height:528px;">中华人名共和国</div></body></html> js怎样改变iframe中子页面的大小 jsp页面调用js失效,求大侠解决! 关于document.write()? jquery中多个下拉框如何获取已选值(每个下拉框的name相同) fontpage如何开发javascript 怎样得到frame的height和width JavaScript 控制播放次数无效.. 请高手帮忙,这种情况该怎么提交表单? <marquee>的问题 父窗口用iframe嵌套一个子窗口,父窗口和子窗口的服务器地址各不相同,子窗口怎么得到父窗口的url地址,求详细 请大家帮个忙,谢谢! 一个棘手的问题
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
body
{
margin:0;
}
#div1
{
background: url(1.jpg);
width: 250px;
height: 176px;
float:left;
}
#div2
{
background: url(2.jpg);
width: 250px;
height: 176px;
float:left;
}
#div3
{
background: url(3.jpg);
width: 250px;
height: 176px;
float:left;
}
#div4
{
background: url(4.jpg);
width: 250px;
height: 176px;
float:left;
}
#div5
{
background: url(5.jpg);
width: 250px;
height: 176px;
float:left;
}
#div6
{
background: url(6.jpg);
width: 250px;
height: 176px;
float:left;
}
#div7
{
background: url(7.jpg);
width: 250px;
height: 176px;
float:left;
}
#div8
{
background: url(8.jpg);
width: 250px;
height: 176px;
float:left;
}
#div9
{
background: url(9.jpg);
width: 250px;
height: 176px;
float:left;
}
</style> <script type="text/javascript"> </script></head>
<body>
<div style="width:750px;z-index:1">
<div id="div1">
</div>
<div id="div2">
</div>
<div id="div3">
</div>
<div id="div4">
</div>
<div id="div5">
</div>
<div id="div6">
</div>
<div id="div7">
</div>
<div id="div8">
</div>
<div id="div9">
</div>
</div>
<div style="position:absolute;left:0px;height:0px;width:750px;height:528px;">中华人名共和国</div>
</body>
</html>