473,573 Members | 2,897 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Representing 8.5x11 in HTML

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/
Jul 23 '05 #1
16 31486

"Dave" <da**@yahoo.com > wrote in message
news:qD6Xc.6039 3$wo.2975@okepr ead06...
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?


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.

Jul 23 '05 #2
On Wed, 25 Aug 2004 15:28:08 -0500, Dave <da**@yahoo.com > wrote:
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?


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.

Jul 23 '05 #3
Dave wrote:
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.

The best you can hope to do is create a div section whose
width-to-height ratio is 8.5/11, and scale all the content to fit. It
will, of course, be unreadable but would look like a 8.5 x 11 layout.
You'd be better off creating an image or a PDF.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #4
On Wed, 25 Aug 2004, Dave wrote:
I would like to create a table in HTML that represents a letter on a
standard size sheet of paper.
The standard size sheet of paper is 210*mm × 297*mm and is called "A4":
http://www.cl.cam.ac.uk/~mgk25/iso-paper.html
an 8.5 x 11 sheet of paper


What??

--
Top-posting.
What's the most irritating thing on Usenet?
Jul 23 '05 #5
Andreas Prilop <nh******@rrz n-user.uni-hannover.de> wrote:
On Wed, 25 Aug 2004, Dave wrote:
I would like to create a table in HTML that represents a letter on a
standard size sheet of paper.


The standard size sheet of paper is 210*mm × 297*mm and is called "A4":
http://www.cl.cam.ac.uk/~mgk25/iso-paper.html
an 8.5 x 11 sheet of paper


That's the standard "letter" page size in the US. Then there's "legal"
size, 8.5 x 14. Inches, of course,

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 23 '05 #6
On Thu, 26 Aug 2004 14:20:35 +0200, Andreas Prilop
<nh******@rrz n-user.uni-hannover.de> wrote:
On Wed, 25 Aug 2004, Dave wrote:
I would like to create a table in HTML that represents a letter on a
standard size sheet of paper.


The standard size sheet of paper is 210*mm × 297*mm and is called "A4":
http://www.cl.cam.ac.uk/~mgk25/iso-paper.html
an 8.5 x 11 sheet of paper


What??


We ugly Americans like to use these arcane measurements and non-standard
sizes. But hey, you like our hamburgers and our blue jeans. ;)
Jul 23 '05 #7
JRS: In article <Pine.GSO.4.44. 0408261417001.3 102-100000@s5b004>, dated
Thu, 26 Aug 2004 14:20:35, seen in news:comp.infos ystems.www.authoring.h
tml, Andreas Prilop <nh******@rrz n-user.uni-hannover.de> posted :
On Wed, 25 Aug 2004, Dave wrote:
I would like to create a table in HTML that represents a letter on a
standard size sheet of paper.


The standard size sheet of paper is 210*mm × 297*mm and is called "A4":
http://www.cl.cam.ac.uk/~mgk25/iso-paper.html
an 8.5 x 11 sheet of paper


What??


That's in Imperial units; they keep them in case they ever get an
Empire.

But here the most frequently-used sizes are 100 mm * 122 mm and 600 mm *
720 mm approximately.

--
© John Stockton, Surrey, UK. ??*@merlyn.demo n.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demo n.co.uk/> - w. FAQish topics, links, acronyms
Dates - miscdate.htm Year 2000 - date2000.htm Critical Dates - critdate.htm
Euro computing - eurocash.htm UK Y2k mini-FAQ: y2k_mfaq.txt Don't Mail News
Jul 23 '05 #8
Practical solution:

While printing, Internet Explorer thinks that there are 800 screen pixels
between left and right side of print page.
So if you want sort of preview of your printout put in your
document <div> or <table> sized to w:800px h:1000px (or little less as of
margins) .
This will represent "printing page". Being printed this element will occupy
whole page.

Gecko seems uses the same scale.

And sure our http://blocknote.net behave this way also.

Andrew Fedoniouk.
http://terrainformatica.com
"Dave" <da**@yahoo.com > wrote in message
news:qD6Xc.6039 3$wo.2975@okepr ead06...
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/

Jul 23 '05 #9
On Thu, 26 Aug 2004 20:20:36 +0100, Dr John Stockton
<sp**@merlyn.de mon.co.uk> wrote:
Andreas Prilop <nh******@rrz n-user.uni-hannover.de> posted :
On Wed, 25 Aug 2004, Dave wrote:
an 8.5 x 11 sheet of paper What??

That's in Imperial units; they keep them in case they ever get an
Empire.


Haw haw. What's scary is that our minority-selected leader seems to be
trying to do just that...
But here the most frequently-used sizes are 100 mm * 122 mm and 600 mm *
720 mm approximately.


Mm? As in "Mm, this McDonald's hamburger is great!" ;)

(just kidding y'all)
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3770
by: Donald Firesmith | last post by:
Are html tags allowed within meta tags? Specifically, if I have html tags within a <definition> tag within XML, can I use the definition as the content within the <meta content="description> tag? If not, is there an easy way to strip the html tags from the <definition> content before inserting the content into the meta tag?
5
1562
by: Robert AH Prins | last post by:
Hi all, A number of questions: 1) I'm in the process of converting some historical type-written newsletters to HTML and one of the things that came up while doing so was the fact that some headings underline every other letter. I can just go ahead and bold them instead, but that feels a bit 1984'ish, or I can emulate this using <span>...
4
2134
by: Steel | last post by:
Hi at all, I have a long HTML page with some photos (2 large and 2 little) If a user print the page I'ld want that he can print as I want like a pdf file. Is it possible? I.e.:Print margins and new page Best it'ld be to ca eject paper when I wanto because I do not want that any printer cut the photos Steel
1
1542
by: The Doctor | last post by:
Is there a way to do this?? I would like to stay away from XML is possible. -- Member - Liberal International This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca God Queen and country! Beware Anti-Christ rising! UK as 5 May 2005 approaches, vote LDem!!
1
1737
by: Raymond Du | last post by:
Hi, I have serveral web forms used by users, these users often use IE browser print function to print out the form, the problems I have is what users see on the screen is usually different from what's being printed. Somtimes it looks good on screen, but it wraps differently in printing. How do I format the HTML so it will look the same in...
32
2649
by: Next | last post by:
Hi folks, Years ago, it occurred to me that a lot of the trouble of writing web browsers is caused by the upside-down arrangement of things: Javascript code exists inside a document, when really it should be the other way around. And yet, although this seems fairly obvious to me, having tried myself to write a web browser and given up, I...
3
1269
by: PJ6 | last post by:
First up, I know I'll get some good answers here, but in general, are there any newsgroups devoted to overall application architecture? Second, sorry for cross-posting but in this case I think it's appropriate, I want to hear answers from both sides. Instead of representing inheritance in the data model, in the particular project I'm...
7
3610
by: pamelafluente | last post by:
The precious input given by Laurent, Martin, Benjamin about XMLHttpRequest in Javascript, has made me think that perhaps I could improve what I am currently doing by using Ajax. Let's make it simple and schematic, to see if there is a simple Ajax answer to this. A. I have an HTML page which has some pure html/css code representing a GRID...
0
1168
by: killswitch413 | last post by:
Hello all. I have a report which only pulls four fields from a table and displays them in a report, in which I export to html. - hyperlink (Procedure Title#url://#) The problem being is that I would like all the records to show and not just 1 of 6, 2 of 6, etc... pages, I'm sure it makes sense to you all.
0
7767
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7684
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8006
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8196
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8058
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5579
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2191
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1295
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1035
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.