|
Posted by rf on 09/26/07 06:25
"Steve" <no.one@example.com> wrote in message
news:uTlKi.116$n96.31@newsfe06.lga...
>
> "Sanders Kaufman" <bucky@kaufman.net> wrote in message
> news:QAhKi.1186$hI7.351@newssvr17.news.prodigy.net...
>> "Steve" <no.one@example.com> wrote in message
>> news:iQaKi.22$n96.21@newsfe06.lga...
>>
>>> i *so* don't get it either. maybe i've got a type-o or am
>>> referencing/misspelling the attribute. would you post your media print
>>> sample to print landscape with all margins at 0.25"
>>
>> body {
>> onload: javascript:'alert("When printer dialogue is displayed, make
>> sure to select -landscape-.")';
>> }
>>
>> ... or something like it.
>
> please tell me you're joking, right? i'm taking about using css to set
> margins and page orientation...not the user. but, i know the above is a
> joke.
No joke.
What you are thinking of is the page media "size" property and its
"landscape" and "portrait" values.
They were around in CSS 2 but were dropped in CSS 2.1. They are
re-introduced in CSS 3 but nobody actually supports them. IE is unlikely to
support them for a long time, as it still doesn't support even CSS 2.1
properly.
No support === not usable so instructing the user is the next best thing.
Google groups for <css size landscape> and settle down for a good read :-)
--
Richard.
Navigation:
[Reply to this message]
|