You are here: Re: printing - can i suggest a paper size/layout? « HTML « IT news, forums, messages
Re: printing - can i suggest a paper size/layout?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация