sfsignal


News Feeds
Add to Google Entries
Add to Google Commments

Subscribe with FeedBurner
Search


« REVIEW: Robota by Doug Chiang and Orson Scott Card | Home | WINNER: 2005 Philip K. Dick Award »
« REVIEW: Robota by Doug Chiang and Orson Scott Card | Home | WINNER: 2005 Philip K. Dick Award »
More PDA Updates

I've improved support for PDAs. Besides being able to browse to http://www.sfsignal.com/pda.htm, links to post entries will now display using the full width of the PDA screen.

The change was quite simple, really. First, I created a copy of the site's style sheet page and optimized it for a PDA display (hiding the left and right columns and changing margins to zero). Then it was simply a matter of adding another style sheet reference (via the LINK tag) to the appropriate templates (the index template and the individual archive template) with the media attribute set to "handheld". Any mobile browser that supports this attribute on the LINK tag will use the PDA stylesheet instead of the regular stylesheet.

Of course, I can extend this method to avoid having to use a special URL in the first place, but that's for another day.

Share: | Posted by John on Sunday March 27, 2005 - 3:02 PM | Category: Meta | © 2005 SF Signal



Comments


Post a Comment









Remember personal info?



[Use a smiley: Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley Add this smiley ]
[Use shortcuts: URL, BOLD or ITALICIZE ]