[pmwiki-users] Kindle

Rogutės Sparnuotos rogutes at googlemail.com
Mon Nov 22 05:16:31 CST 2010


Steve G. (2010-11-21 16:45):
> Does anyone know if there is an easy way to format pmwiki wiki pages so they
> render well on the amazon kindle (which has a low screen resolution of
> 600x800)?
> 
> The new kindle has a browser, but normal resolution pages either render in
> very tiny print, or have to be read with a manual mouse moving left and
> right every line.
> 
> Ideally, the web server would respond with different page for requests from
> the kindle browser and normal browsers.
> 
> I suppose the same applies to the various smart phone with smaller screens.
> 
> Thanks,
> 
> Z.

Yes, there is, but you have to know a bit of CSS and Kindle's browser has
to support CSS Media Queries [1]. For example, something along these lines
ought to work:

@media all and (min-width:600px) {
  #wikitext { width: 600px; }
}

[1] http://www.w3.org/TR/css3-mediaqueries
                
-- 
--  Rogutės Sparnuotos



More information about the pmwiki-users mailing list