473,385 Members | 2,014 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,385 software developers and data experts.

Browser with best CSS paged media support?

Hi,
Which browser has the best CSS paged media support? [1]

I'm about to write a business plan, which needs to be printed on paper to be
presented to the bank. Now I cringe at doing this in Word, as I'm far more
comfortable with hand-coding HTML and CSS(though I've never used the
print-specific CSS elements).
Thanks
-Laurens

[1] http://www.w3.org/TR/REC-CSS2/page.html
Jul 20 '05 #1
15 7846
In article <bh**********@reader10.wxs.nl>, sp**@block.com says...

Which browser has the best CSS paged media support?
(...)


For CSS media print, I have the best experiences with Opera. It's the
same as other browsers in most regards, but it respects page-break
definitions.
I suppose the latest Mozilla might also be worthwhile checking out.
Jul 20 '05 #2
DU
Laurens wrote:
Hi,
Which browser has the best CSS paged media support? [1]

I'm about to write a business plan, which needs to be printed on paper to be
presented to the bank. Now I cringe at doing this in Word, as I'm far more
comfortable with hand-coding HTML and CSS(though I've never used the
print-specific CSS elements).
Thanks
-Laurens

[1] http://www.w3.org/TR/REC-CSS2/page.html

http://www.westciv.com/style_master/.../printing.html

but don't expect 100% reliable data from this chart. Browsers always
have bugs; sometimes normal basic testcases do not identify browser
bugs. And browsers are continually being improved.

NS 7.1 support for the page media must be a lot better than the data in
that chart as 12 months of bug fixes and improvements were added into NS
7.1 over NS 7.0. It's not clear.

Bug 24000: CSS page-break-before/after:always Support
http://bugzilla.mozilla.org/show_bug.cgi?id=24000

Bug 115199: @page in CSS2 not implemented
http://bugzilla.mozilla.org/show_bug.cgi?id=115199

Bug 132035: Support all page-break-* CSS2 properties
http://bugzilla.mozilla.org/show_bug.cgi?id=132035

DU
--
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/
- Resources, help and tips for Netscape 7.x users and Composer
- Interactive demos on Popup windows, music (audio/midi) in Netscape 7.x
http://www10.brinkster.com/doctorunc...e7Section.html

Jul 20 '05 #3
On Mon, 18 Aug 2003 16:01:50 +0100, "PeterMcC" <pe***@mccourt.org.uk>
wrote:
I know it's not the answer you're wanting but I'd seriously suggest you use
a word processor or DTP package.


How many UK banks do you know (for that's where we both are) who could
accept a business plan by email ? My bank (Lloyds) doesn't even
offer _phone_ access to my local branch.

Jul 20 '05 #4
Andy Dingley wrote:
On Mon, 18 Aug 2003 16:01:50 +0100, "PeterMcC" <pe***@mccourt.org.uk>
wrote:
I know it's not the answer you're wanting but I'd seriously suggest
you use a word processor or DTP package.


How many UK banks do you know (for that's where we both are) who could
accept a business plan by email ? My bank (Lloyds) doesn't even
offer _phone_ access to my local branch.


I understood that the OP was planning on writing "... a business plan, which
needs to be printed on paper to be presented to the bank."

I'm afraid that I can't understand the point of your question; however, the
answer, since my knowledge of banking procedures is limited to those of the
one that I use, is 'one'.

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.

Jul 20 '05 #5
On Mon, 18 Aug 2003 21:52:38 +0100, "PeterMcC" <pe***@mccourt.org.uk>
wrote:
I understood that the OP was planning on writing "... a business plan, which
needs to be printed on paper to be presented to the bank."


So printed HTML is perfectly adequate.

The only time I send word-processed documents out electronically in
..doc format is when they're going to the (all too many) muppets who
sincerely believe that Word is the only editor on the planet and that
Outhouse is a mail client. I did go through a phase of sending PDF's
out to recruiters in the IT agency (to stop the devious little slimes
editing my CV), but found out that very few could print them.

If you think that the only way to get a decent layout on paper is to
use Word, then there's a bridge in Seattle you seem to have already
bought. And that's without dredging up DocBook, *roff, TeX and DEC
runoff.

In response to the original question (from politeness more than useful
information) then IMHE they're all still broken. I know I'm out of
date here, but the CSS page-break situation still seems sufficiently
unreliable that I've not yet felt the urge to re-evaluate it.

Jul 20 '05 #6
You have NO CONTROL over which browser your banker will use, assuming they
even know what a browser is. And if they do know what a browser is, they
might not know how to print a paper copy that will have a physical
appearance better than crap.

Use a word processor and submit it on paper or in PDF format. That way yu
can count on the fonts and font sizes being what YOU want.

"Laurens" <sp**@block.com> wrote in message
news:bh**********@reader10.wxs.nl...
Hi,
Which browser has the best CSS paged media support? [1]

I'm about to write a business plan, which needs to be printed on paper to be presented to the bank. Now I cringe at doing this in Word, as I'm far more
comfortable with hand-coding HTML and CSS(though I've never used the
print-specific CSS elements).
Thanks
-Laurens

[1] http://www.w3.org/TR/REC-CSS2/page.html

Jul 20 '05 #7
"news.frontiernet.net" <rf******@wgtn.net> wrote:
You have NO CONTROL over which browser your banker will use,
Thank you for the usual bogosity alerts (incorrect From field,
SHOUTING, upside-down quoting, etc.). Please continue using them until
you have contribution to make.

As usual, comprehensive quoting indicates lack of comprehensive
reading. The question described:
I'm about to write a business plan, which needs to be printed on
paper to be presented to the bank.


There's no need for any banker to use any browser for that.
Use a word processor and submit it on paper or in PDF format. That
way yu can count on the fonts and font sizes being what YOU want.


Word processors normally produce text in their proprietary formats,
_not_ in PDF format. Anyway, what you describe is an attempt to fight
against the strengths of the Web and of the HTML format.

The real issue, which you have completely missed, was how to author in
HTML _and_ have the document formatted nicely on paper. If the paper
format is the only one in which the document is really needed, I would
vote for MS Word. It _is_ a useful program, though partly poorly
documented and with lots of irritating features. If the document should
also be available in cross-platform format, maybe for use on the Web or
in an intranet, then HTML format might be the best master format.

Unfortunately the method of using CSS is still rather limited in that
respect, though, depending on the nature of the document, it might work
reasonably, if the page is printed Opera or Mozilla. The specifically
page-oriented features of CSS work rather poorly at present, but for a
business plan, it would probably be sufficient to create an edited copy
of the page with "forced" page breaks (e.g. with page-break-before:
always) using CSS. And this might mean that the author needs to work on
that copy iteratively, using the Print Preview function of the browser
to decide on the page breaks. It's a bit dull work, but probably
tolerable. And setting fonts and font sizes in CSS works just fine for
the purpose.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #8
news.frontiernet.net wrote:
Use a word processor and submit it on paper or in PDF format.


I assumed that Laurens would be submitting in paper format anyway, hence:

| I'm about to write a business plan, which needs to be printed on paper
| to be presented to the bank.

And in answer to the original question. Opera is far and away the best
browser for this sort of thing. It has one or two minor problems[1], but
no show-stoppers.

[1] For example, I don't think it yet can handle tables spilling over
multiple pages and using the <tfoot> and <thead> on each page.

--
Toby A Inkster BSc (Hons) ARCS | mailto:to*****@goddamn.co.uk | pgp:0x6A2A7D39
aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:ta*@jabber.linux.it
http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
playing://(nothing)
Jul 20 '05 #9
Andy Dingley wrote:
On Mon, 18 Aug 2003 21:52:38 +0100, "PeterMcC" <pe***@mccourt.org.uk>
wrote:
I understood that the OP was planning on writing "... a business
plan, which needs to be printed on paper to be presented to the
bank."
So printed HTML is perfectly adequate.

<snip>
If you think that the only way to get a decent layout on paper is to
use Word, then there's a bridge in Seattle you seem to have already
bought. And that's without dredging up DocBook, *roff, TeX and DEC
runoff.


I have, for some years, laboured under the impression that preparing a
document for print would be best done using a word processor or DTP
package - I shall try marking up my next document in HTML, thanks for the
hint which I will pass on to my clients in the publishing industry. As
regards Seattle, I'm afraid that I have no idea how that links into my
suggestion of a word processor or DTP package - if it's a reference to
Microsoft's products, I'm afraid that you've picked up an inference from
elsewhere in the thread that wasn't mine.
--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.

Jul 20 '05 #10
On Mon, 18 Aug 2003 22:30:03 +0100, Andy Dingley
<di*****@codesmiths.com> wrote:
On Mon, 18 Aug 2003 21:52:38 +0100, "PeterMcC" <pe***@mccourt.org.uk>
wrote:
I understood that the OP was planning on writing "... a business plan, which
needs to be printed on paper to be presented to the bank."


So printed HTML is perfectly adequate.


I have to disagree here. There is for example no way to specify page
headers and footers in HTML (except to the extent that <TITLE> is used
for such).

If the aim is to provide universal access to information, use HTML. If
you want to produce a printed document, use a word-processor. (Doesn't
have to be Word, of course.) A question of appropriate tools for the
job.

If you want to provide something via HTML, but also give yourself the
best option for printing a reasonably presentable copy, then Opera 7
seems to provide the best support for the CSS page-break properties at
present.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #11
Thanks everyone for their responses.

I'm using an application that helps you set up a business plan(essentially
it's just a questionnaire). Now the good thing about this program is that it
stores its data in an XML file. My initial plan was to write the sections of
the business plan not covered by the questionnaire in XHTML, transform the
questionnaire XML data using XSLT to XHTML, and finally merge the results in
one document. Instead, I went with XSL:FO, which I didn't have any
experience with until yesterday. I transform both my XHTML document and the
questionnaire data to XSL:FO and run it through Apache FOP to produce a PDF.
FOP may have its limitations, but it works well enough for my purposes. The
end result is as good as anything I can produce in Word.
Thanks
-Laurens
Jul 20 '05 #12
In article <Xn*****************************@193.229.0.31> in
comp.infosystems.www.authoring.html, Jukka K. Korpela
<jk******@cs.tut.fi> wrote:
Unfortunately the method of using CSS is still rather limited in that
respect, though, depending on the nature of the document, it might work
reasonably, if the page is printed Opera or Mozilla. The specifically
page-oriented features of CSS work rather poorly at present, but for a
business plan, it would probably be sufficient to create an edited copy
of the page with "forced" page breaks (e.g. with page-break-before:
always) using CSS. And this might mean that the author needs to work on
that copy iteratively, using the Print Preview function of the browser
to decide on the page breaks.


This is pretty much what I do with materials for my class, when
there is a particularly bad page break on the uncontrolled first
attempt at printing.

Be aware that Mozilla will not break pages on paper quite the same
as it does in Print Preview -- an annoying bug that is still with us
in 1.4 but I hope will be fixed un bel di.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #13

"Laurens" <sp**@block.com> wrote in message
news:bh**********@reader10.wxs.nl...
Hi,
Which browser has the best CSS paged media support? [1]

I'm about to write a business plan, which needs to be printed on paper to be presented to the bank. Now I cringe at doing this in Word, as I'm far more
comfortable with hand-coding HTML and CSS(though I've never used the
print-specific CSS elements).
Thanks
-Laurens

[1] http://www.w3.org/TR/REC-CSS2/page.html

Jul 20 '05 #14
Stay with Word.
Or with TeX if you prefer to focus on coding rather then on content.

Microsoft Word document object model is the best for printing page layout.

Forget about page breaks in the HTML document.
They will be useful only when something like <PAGEBODY> will appear.
Currently they are just nothing.

Andrew Fedoniouk.
http://blocknote.net


Jul 20 '05 #15
On Mon, 18 Aug 2003 18:31:23 -0400, Stan Brown
<th************@fastmail.fm> wrote:
In article <MP************************@News.Individual.DE> in
comp.infosystems.www.authoring.html, Philipp Lenssen
<ph*************@bb-k.com> wrote:
In article <bh**********@reader10.wxs.nl>, sp**@block.com says...

Which browser has the best CSS paged media support?
(...)


For CSS media print, I have the best experiences with Opera. It's the
same as other browsers in most regards, but it respects page-break
definitions.
I suppose the latest Mozilla might also be worthwhile checking out.


If by "latest" you mean the 1.5 nightlies, that might be true.

Unfortunately, Moz 1.4 still does not respect page-break, at least
not in tables. It even sometimes cuts an image, printing half on
page N-1 and the other half on page N.


I do though like the way it places <thead> content at the top of each
page when <tbody> content extends over several pages.
--
Robert G. Eldridge Cardiff NSW Australia
http://www2.hunterlink.net.au/~ddrge/
Jul 20 '05 #16

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

Similar topics

12
by: AMC | last post by:
Hi, I need to code an asp based browser sniffer. It needs to detect if a browser can support css and if not redirect to a different site. Does anyone have sample code that does this? thx
14
by: Gérard Talbot | last post by:
I personally disagree with the Viewable in Any browser campain. The site is frankly outdated, seems to be no longer maitained, has several recommendations that don't make a lot of sense anymore. In...
5
by: David Baker | last post by:
Hi all I am very new to ASP.Net. I am trying to create a sniffer for our program. We want our users to click our sniffer and hopefully the sniffer will check their computer against our...
7
by: Rhino | last post by:
I thought I'd take a second to step away from a specific problem and ask a general question about best practices; I know some of the people here are very experienced with CSS. Given the need to...
1
by: Dan | last post by:
Hi, I was wondering if anyone could come up with a cross browser image transition that I could use... I have already made one that works in IE but i know it doesn't work in Mozilla Firefox. ...
4
by: trpost | last post by:
I am looking for a script using javascript to pull browser information including, browser type and version, OS info, plugins (flash, acrobat, media player, etc), java version, etc. that will work...
0
by: fergaloc | last post by:
Hi there. Our .net framework 1.1 application is a complex media player that plays back video, flash, web, TV and pictures full screen. It runs on Windows XP SP2. It has 12 DLLs and runs to about...
55
by: Steve | last post by:
I have to develop several large and complex C++ hardware test programs that should work under DOS, most likely with 32-bit DOS extender. Development workstation OS would be Microsoft XP. Quite some...
13
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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,...
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...

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.