[Slight OT] TDPL in Russia

Walter Bright newshound2 at digitalmars.com
Thu Sep 2 19:04:39 PDT 2010


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.


More information about the Digitalmars-d mailing list