|
Posted by matt on 09/13/06 14:54
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. is that valid
syntax in a .css, just like that?
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.
thanks,
matt
>
> CSS 3 may reintroduce and extend the size property:
> http://www.w3.org/TR/css3-page/#page-size
>
> Browser support? Well, that's another issue...
> --
> Darin McGrew, mcgrew@stanfordalumni.org, http://www.rahul.net/mcgrew/
> Web Design Group, darin@htmlhelp.com, http://www.HTMLHelp.com/
>
> "Entering Yosemite National Park: laws of gravity strictly enforced"
Navigation:
[Reply to this message]
|