By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,676 Members | 1,759 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,676 IT Pros & Developers. It's quick & easy.

Help getting HTML to print on one page

P: n/a
Hi;

I'm making an HTML screen that I would like to print on a single page:

http://www.geocities.com/beforewisdo...fNotation.html

Doing a print preview with Mozilla 1.6 on Debian I can see this will not
happen.

I could take out some of the blank lines, but I think that would make
the readability suffer. Am I missing an option?

I tried shrinking the fonts within the content of <dl> tags and within
the content of the <dd> tags but I can't get the fonts to shrink beyond
a certain point.

Any ideas of how to get this to fit onto one printed page would be
appreciated.

Thanks

Steve
Jul 20 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Steve <no****@please.reply.to.group.thanks.com> wrote in
news:c9********@enews1.newsguy.com:
Hi;

I'm making an HTML screen that I would like to print on a single page:

http://www.geocities.com/beforewisdo...fNotation.html Any ideas of how to get this to fit onto one printed page would be
appreciated.


1)
Re-write your page so it contains valid HTML. The
W3C validator shows 40 errors:
http://validator.w3.org/detailed.html
2)
Learn about Cascading Style Sheets(CSS).
3)
Use CSS to suggest the styles for the page, along
with(different) suggestions for print media
(which still may or may not cause it to "print
on one page", as it's up to me, not you, how
I print the page ;-)

--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/
Jul 20 '05 #2

P: n/a
Dave Patton wrote:
Re-write your page so it contains valid HTML. The
W3C validator shows 40 errors:
http://validator.w3.org/detailed.html
Thanks

2)
Learn about Cascading Style Sheets(CSS).


I thought about that, but many browsers do not implement CSS or do so in
a bastardized way.
Jul 20 '05 #3

P: n/a
Steve wrote:
Dave Patton wrote:
Learn about Cascading Style Sheets(CSS).


I thought about that, but many browsers do not implement CSS or do
so in a bastardized way.


If you don't want to use css media="print", there are really no other
reliable options for suggesting print layout. It's either css or let
the browser determine how best to print it with no suggestions from you.

--
Brian (remove ".invalid" to email me)

Jul 20 '05 #4

P: n/a
Tim
Steve wrote:
|| Dave Patton wrote:
||| Re-write your page so it contains valid HTML. The
||| W3C validator shows 40 errors:
||| http://validator.w3.org/detailed.html
||
|| Thanks
||
||
||| 2)
||| Learn about Cascading Style Sheets(CSS).
||
|| I thought about that, but many browsers do not implement CSS or do
|| so in a bastardized way.

I think you'll find otherwise.

--
Tim Johns
Worcestershire, UK
Jul 20 '05 #5

P: n/a
"Steve" <no****@please.reply.to.group.thanks.com> wrote in message
news:c9*********@enews4.newsguy.com...
Dave Patton wrote:
Re-write your page so it contains valid HTML. The
W3C validator shows 40 errors:
http://validator.w3.org/detailed.html


Thanks

2)
Learn about Cascading Style Sheets(CSS).


I thought about that, but many browsers do not implement CSS or do so in
a bastardized way.


No browser completely and correctly implements CSS2: but neither does any
browser completely and correctly implement HTML 4. Are you going to give up
on HTML too? You can: after all, browsers display plain ASCII text quite
nicely ...

Seriously, CSS is a useful technology and should not be disregarded.

Jul 20 '05 #6

P: n/a

"Steve" <no****@please.reply.to.group.thanks.com> wrote in message
news:c9*********@enews4.newsguy.com...
2)
Learn about Cascading Style Sheets(CSS).


I thought about that, but many browsers do not implement CSS or do so in
a bastardized way.


And you know this how?
I think you've been believing the misstatements of the ignorant

-Karl
Jul 20 '05 #7

P: n/a
DU
Steve wrote:
Dave Patton wrote:
Re-write your page so it contains valid HTML. The
W3C validator shows 40 errors:
http://validator.w3.org/detailed.html

Thanks

2)
Learn about Cascading Style Sheets(CSS).

I thought about that, but many browsers do not implement CSS or do so in
a bastardized way.


Right now, according to a wide majority of sites reviewing browser CSS
support, sites testing CSS support in browsers, CSS experts, more than
90% of browsers in use on the web have an excellent support for CSS 1,
DOM 1 and HTML 4.01. And such support can only get better with new
releases and with people upgrading.

DU
Jul 20 '05 #8

P: n/a
Brian <news:40******@news-1.oit.umass.edu>:
Steve wrote:
Dave Patton wrote:
Learn about Cascading Style Sheets(CSS).


I thought about that, but many browsers do not implement CSS
or do so in a bastardized way.


If you don't want to use css media="print", there are really
no other reliable options [...]


Consider offering a PDF. You'll have more control over the
printed look. Basically the user will have to deliberately print
on multiple pages.

--
Rob - http://rock13.com/
Web Stuff: http://rock13.com/webhelp/
Jul 20 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.