a "page" in HTML

  • Thread starter Ben Dover - Mental Patient 0057
  • Start date
B

Ben Dover - Mental Patient 0057

anyone heard of a concept of a "page" in HTML?
is there a concept like an 8 x 11 in page?
what if i want to create a printable page? one that will print properly
on a 8x11 letter page or 11x14 legal page,etc...?
you know, like printing a pdf
 
A

Adrienne

Gazing into my crystal ball I observed Ben Dover - Mental Patient 0057
anyone heard of a concept of a "page" in HTML?
is there a concept like an 8 x 11 in page?
what if i want to create a printable page? one that will print properly
on a 8x11 letter page or 11x14 legal page,etc...?
you know, like printing a pdf

http://www.w3.org/TR/REC-CSS2/page.html
 
D

David Dorward

Ben said:
anyone heard of a concept of a "page" in HTML?

Depending on the context, it can mean a screenful of data, an html file, an
html file with associated resources, or something else.
is there a concept like an 8 x 11 in page?

CSS 2 has various properties for print media. I seem to remember seeing
something about page sizes in there. RTFM http://w3.org/TR/CSS2/
what if i want to create a printable page? one that will print properly
on a 8x11 letter page or 11x14 legal page,etc...?

That depends on how you define "properly". You can do some nice things with
print media CSS.
you know, like printing a pdf

That suggests "properly" means, to you, "identical on any system" - which
isn't going to happen.
 
S

Sid Ismail

On Fri, 03 Oct 2003 14:56:03 -0400, Ben Dover - Mental Patient 0057

: anyone heard of a concept of a "page" in HTML?
: is there a concept like an 8 x 11 in page?
: what if i want to create a printable page? one that will print properly
: on a 8x11 letter page or 11x14 legal page,etc...?
: you know, like printing a pdf


Expedient use of the "page-break-before: always" tag of CSS2 does the trick:
http://www.w3schools.com/css/css_ref_print.asp

Print-preview this page e.g.:
http://www.sabf.co.za/events/ofs.html

Sid
 
A

Andrew Davidson

"Ben Dover - Mental Patient 0057"
anyone heard of a concept of a "page" in HTML?
is there a concept like an 8 x 11 in page?
what if i want to create a printable page? one that will print properly
on a 8x11 letter page or 11x14 legal page,etc...?
you know, like printing a pdf

I don't have any paper in either of those sizes. How about A4?
 
R

Richard Barnet

Andrew Davidson said:
I don't have any paper in either of those sizes. How about A4?

B3, you sunk my battleship! Actually, PDFs scale to print at any
reasonable paper size. Browsers are limited in that they don't (well,
IE and Opera sometimes try to) scale/expand/shrink page content to fit
window size. If they did, all the theory about liquid sites would
disappear! Wouldn't that be nice?? =)

-- Richard
 
A

Andrew Davidson

Richard Barnet said:
B3, you sunk my battleship! Actually, PDFs scale to print at any
reasonable paper size. Browsers are limited in that they don't (well,
IE and Opera sometimes try to) scale/expand/shrink page content to fit
window size. If they did, all the theory about liquid sites would
disappear! Wouldn't that be nice?? =)

Sure, that was my point. Once you start trying to make your web site fit on a
page, you'd better know what size a page is. Of course you can't know this, and
so the exercise is doomed.....
 
P

PeterMcC

Ben said:
anyone heard of a concept of a "page" in HTML?
is there a concept like an 8 x 11 in page?
what if i want to create a printable page? one that will print
properly on a 8x11 letter page or 11x14 legal page,etc...?
you know, like printing a pdf

If you want that level of control, you probably have the answer already - a
pdf.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,575
Members
47,207
Latest member
HelenaCani

Latest Threads

Top