在HTML中表示8.5x11 [英] Representing 8.5x11 in HTML

查看:116
本文介绍了在HTML中表示8.5x11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用HTML创建一个表格,表示

标准尺寸纸张上的字母。但当然,更小,所以宽度适合屏幕。


如何编写HTML表格来代表8.5 x 11的纸张?什么

屏幕尺寸会以像素为单位?


-

=========== =================

- 戴夫
http://members.cox.net/grundage/

I would like to create a table in HTML that represents a letter on a
standard size sheet of paper. But of course, smaller so the width fits on
the screen.

How do I code an HTML table to represent an 8.5 x 11 sheet of paper? What
would the screen measurements be in pixels?

--
============================
- Dave
http://members.cox.net/grundage/

推荐答案



" Dave" <哒** @ yahoo.com>在留言中写道

news:qD6Xc.60393

"Dave" <da**@yahoo.com> wrote in message
news:qD6Xc.60393


wo.2975@okepread06 ...
wo.2975@okepread06...
我想创建一个表在HTML中代表
标准尺寸纸张上的字母。但当然,更小,所以宽度适合屏幕。

如何编写HTML表格来代表8.5 x 11的纸张?屏幕测量的像素是什么?
I would like to create a table in HTML that represents a letter on a
standard size sheet of paper. But of course, smaller so the width fits on
the screen.

How do I code an HTML table to represent an 8.5 x 11 sheet of paper? What
would the screen measurements be in pixels?




因为每个屏幕每英寸的像素数不同,所以你不能做什么? >
这个。您可以尝试使用CSS将

字母的每个元素直接以英寸为单位,但结果可能会或可能不会令人满意。

完全忘记尝试这样做与表格。



Since every screen has a different number of pixels per inch, you don''t do
this. You can try using CSS to absolutely position each element of your
letter directly in inches, but the results may or may not be satisfactory.
Forget altogether about trying to do this with tables.


2004年8月25日星期三15:28:08 -0500,Dave< da ** @ yahoo.com>写道:
On Wed, 25 Aug 2004 15:28:08 -0500, Dave <da**@yahoo.com> wrote:
我想用HTML创建一个表格,用于表示
标准尺寸纸张上的字母。但当然,更小,所以宽度适合屏幕。

如何编写HTML表格来代表8.5 x 11的纸张?屏幕测量的内容是以像素为单位?
I would like to create a table in HTML that represents a letter on a
standard size sheet of paper. But of course, smaller so the width fits on
the screen.

How do I code an HTML table to represent an 8.5 x 11 sheet of paper? What
would the screen measurements be in pixels?




视口的宽度是多少?你知道吗?一个脚本可以告诉你

的屏幕宽度,但不是浏览器的视口,它可以是任何值。


没有这条信息,你找不到值1 5/17更大

用作高度。没有该值,您无法准确地在字母形状内格式化元素

。由于该值未知,您的

任务是不可能的。


最佳选择是创建该字母的图像。使用longdesc

属性和一个附带的文本链接指向一个页面,提供内容的文本

版本,而不是按照你的建议进行格式化。



What''s the width of the viewport? Do you know? A script can tell you the
screen width, but not the viewport of the browser, it could be any value.

Without that piece of information, you cannot find the value 1 5/17 larger
to use as the height. Without that value, you cannot format the elements
within the letter shape with any accuracy. As that value is unknown, your
task is impossible.

Best option is to create an image of the letter. Use the longdesc
attribute and an accompanying text link pointing to a page giving a text
version of the content, with no attempt to format as you propose.


这篇关于在HTML中表示8.5x11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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