I have web application which follows responsive web design techniques. I'd like to serve different (bigger) font size for TV and different (smaller) for screen even when both have the same resolution. Why? Because when user uses 32" monitor as screen, he probably sits closer to it than user who uses it as TV.
The code:
body {font-size:14px;}
@media (min-width:1900px) {body {font-size:20px;}}
@media tv and (min-width:1900px) {body {font-size:30px;}}
should do all the work (if I understand how media queries work right). But they don't - TV displays text with font size 20px (it's because Opera browser in Sony Bravia TV doesn't support tv
- how ironic...).
So my question is: what other techniques of TV detection are possible?
User-Agent
, but there is no standardized schema for it when TV comes to party.