473,394 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Help getting HTML to print on one page

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
8 6981
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
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
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
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
"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

"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jason | last post by:
hello, i am new to PHP, so go easy. I am using the examples in the book: PHP: Your Visual Blueprint For Creating Open Source, Server Side Content In the section where they talk about...
1
by: Mohan | last post by:
Hi All, I am using web browser control in a VB 6.0 client server application to print reports. I am writing the report into a HTML file and displays the report to the user using the code,...
3
by: John Draper | last post by:
I am having a lot of problems trying to get a Python CGI to run. I have included 3 parts... 1) A simple stripped down python module. 2) An output of what I get when I do: python index.py...
5
by: Manuel Lopez | last post by:
Here's a simple question: how do I download or print out the entire documentation (or a large chunk) in readable format (doc or pdf)? It's not of much use to me if I have to go to every separate...
7
by: Ladysniper | last post by:
DESPERATE doesn't begin to describe it. Can someone PLEASE tell me what is WRONG with this code? Now..a bit of background. It is a search results page for http://www.azsoma.info/directory.htm....
3
by: Chuck Renner | last post by:
Please help! This MIGHT even be a bug in PHP! I'll provide version numbers and site specific information (browser, OS, and kernel versions) if others cannot reproduce this problem. I'm...
9
by: lovinlazio9 | last post by:
I've just started messing around with PHP and believe it or not its extremely frustrating haha. Anyway, I wanted to make a simple input form that would display the info after submitting it... The...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
15
by: Prisoner at War | last post by:
Okay, I'd like to create a print-friendly website, so I've been reading up on how to create print-friendly pages (without duplicating my site, of course, by having separate versions of each...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.