Closed GoogleCodeExporter closed 9 years ago
Would you post your solution here? I'd like to see it. You're using
conditional CSS to select by platform?
Original comment by msgilli...@gmail.com
on 22 Mar 2010 at 9:41
[deleted comment]
I am using the following header code which is consistent with Apple's current
recommendations. I have two
different versions of iui.css, one an unchanged 0.31 version of iui.css, and
one a 0.31 version with the minor
iPad changes mentioned above, which I named ipad.css. A cleaner solution might
be to have conditional css
tests performed within a single version of iui.css, but I wanted to have a
clean released version of iui to use
with the iPhone/iPod touch. Here is the header code i used:
<meta name="viewport" content="width=device-width; initial-scale=1.0;
maximum-scale=1.0; user-
scalable=0;"/>
<link media="only screen and (max-device-width: 480px)" href="iui/iui.css"
type= "text/css" rel="stylesheet">
<link media="screen and (min-device-width: 481px)" href="iui/ipad.css"
type="text/css" rel="stylesheet">
Obviously Apple believes that the iPad should accommodate a full version of
most Web Sites, but I believe iui
is still a valuable technique to use with the iPad since it incorporates the
touch interfaces that are very useful
with an iPad.
Original comment by GRWi...@gmail.com
on 23 Mar 2010 at 12:23
Original comment by msgilli...@gmail.com
on 22 Jul 2012 at 9:20
Original issue reported on code.google.com by
GRWi...@gmail.com
on 20 Mar 2010 at 6:21