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 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.

 

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

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