On Fri, Feb 13, 2004 at 08:01:00PM +0000, Stuart wrote:
> [EMAIL PROTECTED] wrote:
> >Before you read my comments below, let me say that I'm not trying to prove 
> >you *wrong* or even express disagreement with the points you made; I'm 
> >just interested in your reasons.
> 
> An interesting topic, but the OP was checking if the client was a PDA. 
> Maybe it's just me, but I feel that serving a site that wasn't designed 
> for viewing on PDAs to PDAs is generally a bad thing.

True, PDAs can't generally handle the same size/number of graphics that
a desktop browser can.

But what about the Treo?  The Sidekick?  The Zaurus?  Do those get
browser-detected as well?  Or will they still get the same
designed-for-desktop site that all non-WinCE devices get?

As an alternative, use the same (X)HTML, and design an alternate
stylesheet for handhelds, using the CSS media type options:

  http://www.w3.org/TR/REC-CSS2/media.html#media-types

Now you can maintain the same content, and just have two different
stylesheets.

'Course, this is the ideal; it's probably the case that not all handheld
browsers recognize media="handheld" like they should.  Perhaps the
@import rule trick will work, as well.  There is some discussion on
alistapart:

  http://www.alistapart.com/articles/slashdot2/

about handheld emulators, and how XHTML/CSS-designed sites appear on
them.

However, this is way way OT now, and should probably be carried on
offlist.  Or, better yet, I bet css-discuss can provide tips for using
CSS to support handheld browsers, without having to duplicate content or
do browser sniffing.

-- 
[ joel boonstra | gospelcom.net ]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to