Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
using @media does not seem to work!  It does W3C validate:

<style type="text/css" >
body {  background-color: lightgreen; }
font {  font-size: medium }
img { border: 0px; margin: 5px; padding: 5px; }

@media handheld
     body { background-color: lightblue;    }
    font { font-size: small }
    img { border: 0px; margin: 0px; padding: 0px; }
a:link {
     text-decoration: none;

What could I be doing wrong?

Re: @media

Quoted text here. Click to load it

What device are you using and is it reporting as "handheld"?

Boy, it sure would be nice if we had some grenades, don'tcha think?

Re: @media

On Tue, 17 Mar 2015 16:39:13 -0400, meagain wrote:

Quoted text here. Click to load it

Is handheld the right media type? Is it possible the device / browser  
concerned doesn't consider itself to be handheld or isn't recognising the  
handheld type?

Would it be better to use dimension based css? especially if anything  
from a 4 inch phone to a 10 inch tablet might consider itself 'handheld'?

Denis McMahon, denismfmcmahon@gmail.com

Re: @media


"Fact is, Android and iOS ignore media="handheld""


You can also check @media support via this page


On Tuesday, March 17, 2015 at 10:39:15 PM UTC+2, meagain wrote:
Quoted text here. Click to load it

Site Timeline