用Dreamweaver做好的页面拷贝到aspx页面里就变形了,什么原因如何解决?!

ntwqy_2008 2009-09-01 05:03:18
RT
谢谢。
...全文
179 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
aimserver 2009-09-02
  • 打赏
  • 举报
回复
看下div的属性
ntwqy_2008 2009-09-02
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 surlew 的回复:]
Dreamweaver里面的一些标签在aspx里面是不认的,或者已经过时了的,你拷贝过来可以,但是一定要将那些有区别的换成aspx里面认可的
[/Quote]
没有用到标签,只用了层,

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div style="background-position:center;background-repeat:repeat; margin-left:0px; margin-top:0px; background-color:#03409B;">
<div style="width:1000px; height:768px; background-color:#17339F;margin-left:auto; margin-right:auto; margin-top:0px;">
<div style="background:url(images/y_01.gif); width:1000px; height:167px;">
</div>
<div style="background:url(images/y_02.gif); width:1000px; height:157px;">
</div>
<div style="width:1000px; height:23px;">
<div style="background:url(images/y_03.gif); width:404px; height:23px; float:left;">
</div>
<div style="background:url(images/y_04.gif); width:58px; height:23px; float:left;">
</div>
<div style="background:url(images/y_05.gif); width:143px; height:23px; float:left;">
</div>
<div style="background:url(images/y_06.gif); width:395px; height:23px; float:left;">
</div>
</div>
<div style="width:1000px; height:16px;">
<div style="background:url(images/y_07.gif); width:404px; height:16px; float:left;">
</div>
<div style="background:url(images/y_08.gif); width:58px; height:16px; float:left;">
</div>
<div style="background:url(images/y_09.gif); width:143px; height:16px; float:left;">
</div>
<div style="background:url(images/y_10.gif); width:395px; height:16px; float:left;">
</div>
</div>
<div style="width:1000px; height:20px;">
<div style="background:url(images/y_11.gif); width:404px; height:20px; float:left;">
</div>
<div style="background:url(images/y_12.gif); width:58px; height:20px; float:left;">
</div>
<div style="background:url(images/y_13.gif); width:143px; height:20px; float:left;">
</div>
<div style="background:url(images/y_14.gif); width:395px; height:20px; float:left;">
</div>
</div>
<div style="width:1000px; height:16px;">
<div style="background:url(images/y_15.gif); width:404px; height:16px; float:left;">
</div>
<div style="background:url(images/y_16.gif); width:58px; height:16px; float:left;">
</div>
<div style="background:url(images/y_17.gif); width:143px; height:16px; float:left;">
</div>
<div style="background:url(images/y_18.gif); width:395px; height:16px; float:left;">
</div>
</div>
<div style="width:1000px; height:22px;">
<div style="background:url(images/y_19.gif); width:404px; height:22px; float:left;">
</div>
<div style="background:url(images/y_20.gif); width:58px; height:22px; float:left;">
</div>
<div style="background:url(images/y_21.gif); width:143px; height:22px; float:left;">
</div>
<div style="background:url(images/y_22.gif); width:395px; height:22px; float:left;">
</div>
<div style="width:1000px; height:13px;">
<div style="background:url(images/y_23.gif); width:404px; height:13px; float:left;">
</div>
<div style="background:url(images/y_24.gif); width:58px; height:13px; float:left;">
</div>
<div style="background:url(images/y_25.gif); width:143px; height:13px; float:left;">
</div>
<div style="background:url(images/y_26.gif); width:395px; height:13px; float:left;">
</div>
</div>
<div style="width:1000px; height:20px;">
<div style="background:url(images/y_27.gif); width:404px; height:20px; float:left;">
</div>
<div style="background:url(images/y_28.gif); width:58px; height:20px; float:left;">
</div>
<div style="background:url(images/y_29.gif); width:61px; height:20px; float:left;">
</div>
<div style="background:url(images/y_30.gif); width:22px; height:20px; float:left;">
</div>
<div style="background:url(images/y_31.gif); width:60px; height:20px; float:left;">
</div>
<div style="background:url(images/y_32.gif); width:395px; height:20px; float:left;">
</div>
</div>
<div style="width:1000px; height:142px;">
<div style="background:url(images/y_33.gif); width:471px; height:142px; float:left;">
</div>
<div style="background:url(images/y_34.gif); width:529px; height:142px; float:left;">
</div>
</div>
<div style="width:1000px; height:172px;">
<div style="background:url(images/y_35.gif); width:471px; height:172px; float:left;">
</div>
<div style="background:url(images/y_36.gif); width:529px; height:172px; float:left;">
</div>
</div>
</div>
</div>
</body>
robin521 2009-09-02
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 surlew 的回复:]
Dreamweaver里面的一些标签在aspx里面是不认的,或者已经过时了的,你拷贝过来可以,但是一定要将那些有区别的换成aspx里面认可的
[/Quote]

有这个可能,打开source看看,就知道了,改一下就行了
surlew 2009-09-02
  • 打赏
  • 举报
回复
Dreamweaver里面的一些标签在aspx里面是不认的,或者已经过时了的,你拷贝过来可以,但是一定要将那些有区别的换成aspx里面认可的

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧