|
Posted by Harlan Messinger on 09/13/06 15:56
matt@mailinator.com wrote:
> Darin McGrew wrote:
>> Well, CSS 2.0 did allow "size: landscape", "size: portrait", and even
>> "size: 8.5in 11in", although CSS 2.1 dropped it. See:
>> http://www.w3.org/TR/REC-CSS2/page.html#page-size-prop
>
> ah ha. interesting. that link shows this syntax:
>
> @page {
> size: landscape;
> }
>
> ...however im not used to using "@" class definitions.
It's a CSS keyword, not a class.
> is that valid
> syntax in a .css, just like that?
It must be, since the place where you just read about it is the official
definition of valid CSS syntax.
>
> perhaps i have CSS 2.1 -- in IE 6, even w/ the above page class
> definition in my print media's .css, when i get to the OS' print dialog
> its still uses my printer's default of portrait. im running on windows
> 2k pro.
Even if it was in 2.1, it's unlikely that IE would have implemented it.
[Back to original message]
|