在800x600下正常,在1024下就不行了,怎么解决?

xianxiliu 2003-10-04 09:48:33
用DREAMWEAVER4.0D 在网页里做菜单,在800x600下做的,很正常
但在1024 下位置都不对了。什么方法最好解决谢谢!
...全文
72 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
xianxiliu 2003-10-07
  • 打赏
  • 举报
回复
完全的!怎么改!
<div id="Layer13" style="position:absolute; left:406px; top:96px; width:64px; height:57px; z-index:16; visibility: hidden" onMouseOver="MM_showHideLayers('Layer13','','show')" onMouseOut="MM_showHideLayers('Layer13','','hide')">
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td bgcolor="#CCCCCC"><a href="ffxm1.htm"><font color="#000000">软件开发</font></a></td>
</tr>
<tr>
<td bgcolor="#CCCCCC"><a href="ffxm2.htm"><font color="#000000">网站建设</font></a></td>
</tr>
</table>
</div>
xianxiliu 2003-10-07
  • 打赏
  • 举报
回复
如果这样,在800x600下做的,很正常。。但在1024 下位置都不对了。什么方法最好解决谢谢
下面要怎么改????
<div id="Layer7" style="position:absolute; left:320px; top:96px; width:96px; height:49px; z-index:9; visibility: hidden" onMouseOver="MM_showHideLayers('Layer7','','show')" onMouseOut="MM_showHideLayers('Layer7','','hide')">
marlantz 2003-10-07
  • 打赏
  • 举报
回复
先建立一个表格,然后把绝对位置改成相对表格的位置:
<div id="Layer1" style="position:relative;left: 0px; top: 0px;">
jww330 2003-10-07
  • 打赏
  • 举报
回复
以前有这样的问题,你在这里搜索一下就可以了。
opolmzy 2003-10-07
  • 打赏
  • 举报
回复
少用层
能不用就不用
starboy1413 2003-10-06
  • 打赏
  • 举报
回复
改分辨率以后层会乱的~~~~~用table做吧~~~~~~~~~
xianxiliu 2003-10-06
  • 打赏
  • 举报
回复
用表格做菜单,怎样控制显示和不显示呢。。
xiongmao2008 2003-10-06
  • 打赏
  • 举报
回复
最好是用表格作
把总体宽度设置为800*600,是最大的,并且要居中的,
字体等元素要用css进行设置,不然的话,换台机器就乱套了,真的,我原来总是遇到这个问题,
现在解决了
xianxiliu 2003-10-05
  • 打赏
  • 举报
回复
我是用层做的..还是有点不懂..
boystones 2003-10-04
  • 打赏
  • 举报
回复
如果你用网格来做,按上面的方法就行了,最后把他设为center
feel8 2003-10-04
  • 打赏
  • 举报
回复
可以把最外层的表格设置为像素,不要设置成百分百。
wanghr100 2003-10-04
  • 打赏
  • 举报
回复
把绝对位置改成相对位置..
<div id="Layer1" style="position:relative;left: 0px; top: 0px;">


//position:absolute 绝对位置
//position:relative 相对位置

61,125

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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