[Slight OT] TDPL in Russia
Walter Bright
newshound2 at digitalmars.com
Thu Sep 2 23:09:06 PDT 2010
Nick Sabalausky wrote:
> "Walter Bright" <newshound2 at digitalmars.com> wrote in message
> news:i5pl44$jfi$2 at digitalmars.com...
>> Michel Fortin wrote:
>>> Basically, you wanted to do what I did with my website. What was the
>>> problem exactly? Creating a style sheet that displays the contents well
>>> when read linearly? Or was it about how to trigger this particular style
>>> sheet for iPhone and iPods? The later's quite simple, just use this media
>>> attribute:
>>>
>>> media="handheld, only screen and (max-device-width: 480px)"
>>>
>>> The "handheld, " part isn't really relevant for iOS devices, but it'll
>>> trigger the stylesheet with Opera-based handheld browsers.
>>
>> The problem was that I googled it and every hit used a radically different
>> method and they'd refer to it as "seems" to work. I'm not comfortable
>> using such hacks. I'd like one that officially works and is standards
>> compliant.
>
> Then you're best off avoiding the web enitrely, or else you're in for a
> world of hurt ;) The web has no such things.
The print style sheet is standard and works great.
More information about the Digitalmars-d
mailing list