Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #29466

determining screen resolution over the web

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject determining screen resolution over the web
Date 2014-07-31 15:33 -0700
Organization Canadian Mind Products
Message-ID <btglt914p7l0d1ertsa8d5326hji5g90vv@4ax.com> (permalink)

Show all headers | View raw


If somebody sends you an HTTP request, how do you find out his screen
resolution to send back an reasonably sized HTML response?

<link href="../mindprodsmall.css" type="text/css" rel="stylesheet"
media="handheld">
<link href="../mindprodbig.css" type="text/css" rel="stylesheet"
media="screen">

lets the same content be viewed different ways, but it would seem you
also want to prune the content for small screens.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The art of strongly-typed language design is largely arranging 
that errors are automatically detected as soon as possible
in the compose, compile, run cycle.

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

determining screen resolution over the web Roedy Green <see_website@mindprod.com.invalid> - 2014-07-31 15:33 -0700
  Re: determining screen resolution over the web Knute Johnson <eternal@knutejohnson.com> - 2014-07-31 16:02 -0700
    Re: determining screen resolution over the web Roedy Green <see_website@mindprod.com.invalid> - 2014-07-31 16:15 -0700
      Re: determining screen resolution over the web Knute Johnson <eternal@knutejohnson.com> - 2014-07-31 16:40 -0700
        Re: determining screen resolution over the web Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2014-08-01 09:41 -0500
          Re: determining screen resolution over the web Knute Johnson <eternal@knutejohnson.com> - 2014-08-01 08:12 -0700
        Re: determining screen resolution over the web Gene Wirchenko <genew@telus.net> - 2014-08-01 11:01 -0700
        Re: determining screen resolution over the web Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-08-01 16:07 -0400
  Re: determining screen resolution over the web Arne VajhĂžj <arne@vajhoej.dk> - 2014-07-31 22:22 -0400
  Re: determining screen resolution over the web Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2014-08-04 15:20 +0300

csiph-web