有没有办法拉伸HTML正文? [英] Is there a way to stretch an HTML body?

查看:142
本文介绍了有没有办法拉伸HTML正文?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!


我正在寻找一种拉伸HTML页面的方法。


我找到了一种放大方法使用此代码的网页:

body.style.zoom = 200%。 (这段代码将页面放大2倍

更大)


按照这种方式,整个HTML页面将被放大但是在

比例方式。


实际上我正在寻找的是拉伸页面。我的意思是

拉伸是:将页面的宽度拉伸X因子,将页面的

高度拉伸Y因子,而不是按比例缩放br />
使用ZOOM将会做什么。


我知道网页看起来会扭曲但是我可以接受它!

提前致谢!

Hello!

I''m looking for a way to stretch an HTML page.

I found a way to zoom into a web page by using this code:
body.style.zoom = 200%. (this piece of code magnifies the page 2 times
larger)

By following this way, the whole HTML page will be zoomed BUT in a
PROPORTIONAL way.

What actually i''m looking for is stretching the page. What i mean by
stretching is: stretching the width of the page by a factor X and the
height of the page by a factor Y and not doing it proportionally as
what will be done by using the ZOOM.

I know the web page will look distorted but i can get with that!

Thanks in advance!

推荐答案

Zeez于2006年1月13日在comp.lang.javascript中写道
Zeez wrote on 13 jan 2006 in comp.lang.javascript:
您好!

我正在寻找一种拉伸HTML页面的方法。

我找到了使用此代码缩放到网页的方法:
body.style.zoom = 200%。 (这段代码放大页面2次
更大)


IE仅限!!!

按照这种方式,整个HTML页面将以比例方式缩放但是。


不,不是用javascript。

实际上我正在寻找的是拉伸页面。拉伸的意思是:将页面的宽度拉伸X因子,将页面的高度拉伸Y因子,而不是按比例拉伸,因为
将会做什么使用ZOOM。

我知道网页看起来会扭曲,但我可以使用它!
Hello!

I''m looking for a way to stretch an HTML page.

I found a way to zoom into a web page by using this code:
body.style.zoom = 200%. (this piece of code magnifies the page 2 times
larger)
IE only!!!
By following this way, the whole HTML page will be zoomed BUT in a
PROPORTIONAL way.
No, not with javascript.
What actually i''m looking for is stretching the page. What i mean by
stretching is: stretching the width of the page by a factor X and the
height of the page by a factor Y and not doing it proportionally as
what will be done by using the ZOOM.

I know the web page will look distorted but i can get with that!




-

Evertjan。

荷兰。

(请在我的电子邮件地址中将x'变为点数)



--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


感谢您的快速回复。


好​​的,您知道这是否可以通过其他任何方式实现?如果是,任何

示例或链接?


谢谢

Thanks for the quick reply.

Ok, so do u know if this is possible in any other way? If yes, any
examples or links?

Thank You


Zeez写于2006年1月13日的comp.lang.javascript
Zeez wrote on 13 jan 2006 in comp.lang.javascript:
感谢您的快速回复。

好的,你也是知道这是否可能以任何其他方式?如果有,是否有任何
示例或链接?
Thanks for the quick reply.

Ok, so do u know if this is possible in any other way? If yes, any
examples or links?




这是usenet,而不是电子邮件。


如果你不喜欢引用你回复的相关部分,

我们不知道你在说什么。


如果你想发布通过groups.google.com进行跟进,不要使用

回复链接在文章的底部。点击显示选项在文章顶部的

,然后点击回复按钮。在文章的底部

标题。


-

Evertjan。

荷兰。

(请将我的电子邮件地址中的x'变为点数)



This is usenet, not email.

If you don''t quote relevent part of what you are replying on,
we won''t know what you are talking about.

If you want to post a followup via groups.google.com, don''t use the
"Reply" link at the bottom of the article. Click on "show options" at the
top of the article, then click on the "Reply" at the bottom of the article
headers.

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


这篇关于有没有办法拉伸HTML正文?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆