css page media, size

R

rf

Nik Coughin said:
Doesn't print in landscape as requested in the CSS. I want it to work under
IE but doesn't work in Mozilla either. Works in Opera. Any ideas?

http://www.nrkn.com/landscape/

The size property is CSS3. Do you really expect a four year old browser to
support CSS3? It doesn't even support CSS 2.1 properly.
 
N

Nik Coughin

rf said:
The size property is CSS3. Do you really expect a four year old
browser to support CSS3? It doesn't even support CSS 2.1 properly.

Hmmm, I have it in a CSS2 reference, but there you go then. Should have
thought of that. Thanks. Don't suppose you know of any other way to do
this?
 
R

rf

Nik Coughin wrote
Hmmm, I have it in a CSS2 reference, but there you go then. Should have
thought of that. Thanks. Don't suppose you know of any other way to do
this?

Hey, you're right. I just found it in the CSS2 spec. It has been removed in
the CSS2.1 spec and then put back again in the CSS3 spec. And people wonder
why the *browsers* don't work as expected :)

In any case if it is not supported by IE or Mozilla there is little you can
do, other than asking your viewer politely to change her settings.
 
N

Nik Coughin

rf said:
In any case if it is not supported by IE or Mozilla there is little
you can do, other than asking your viewer politely to change her
settings.

Hmmm, yeah it was the viewer requesting it. It's for a table that is being
autogenerated and sent by email and then printed automatically at their end
upon receipt, and they wanted it to print landscape. Looks like it's a case
of "that's too bad".
 
R

rf

Nik wrote
Hmmm, yeah it was the viewer requesting it. It's for a table that is being
autogenerated and sent by email and then printed automatically at their end
upon receipt, and they wanted it to print landscape. Looks like it's a case
of "that's too bad".

I would agree. *EVERY* other application that can print has a page setup
dialog or something for the user to drive and make decisions with. Why
should driving a browser be different? Hang on, it's not even a browser,
it's an email client :)
 
T

Toby Inkster

Nik said:
Doesn't print in landscape as requested in the CSS. I want it to work under
IE but doesn't work in Mozilla either. Works in Opera. Any ideas?

IE and Mozilla don't support anywhere near as much of CSS 2 as Opera does.
(Opera supports *all* of CSS 2.1 except a few obscure values for
list-style-type, plus it supports a lot of the CSS 2 stuff that was left
out of 2.1.)
 

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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top