怎样确定字体高度?

Sander 2002-03-05 10:45:30
我有一多窗口页面,
代码如下:
<FRAMESET border=1 frameSpacing=2 rows=37,* frameBorder=YES>
<noframes>
<body onload=window.resizeTo(screen.availWidth,screen.availHeight)>

</body>

</noframes>
<FRAME name=topFrame src="top.htm" noResize scrolling=no target="_self">

<FRAMESET border=1 frameSpacing=5 frameBorder=YES cols=163,*>
<FRAME scrolling = auto name=leftFrame src="left1.htm" noResize target="_self">
<FRAME scrolling = auto name=mainFrame src="View2x2.htm" target="_self">
</frameset>
</frameset>

我的top.htm是一个来回走的标题,
由于分辨率的不同,字体的不同,在有的机上标题显示只有一半,请问怎样解决这个问题?
...全文
62 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Sander 2002-03-06
  • 打赏
  • 举报
回复
谢啦
孟子E章 2002-03-05
  • 打赏
  • 举报
回复
不能显示,可能是你的line-height设的不对。
也可以根据分辨率设定:
if(800) document.all.fontID.style.fontSize='28pt'
if(1024) document.all.fontID.style.fontSize='36pt'
孟子E章 2002-03-05
  • 打赏
  • 举报
回复
不能显示,可能是你的line-height设的不对。
也可以根据分辨率设定:
if(800) document.all.fontID.style.fontSize='28pt'
if(1024) document.all.fontID.style.fontSize='36pt'

87,996

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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