republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » cellphones, or the art of small screen friendly sites
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[Chat] C++, Thinking out loud ... »
« Sub-contracted software developer owning software ?  
AuthorAll Replies


DC DSL
Stays crunchy even in milk
Premium
join:2000-07-30
Washington, DC
·Covad Communications
·Verizon Online DSL

reply to thender
Re: cellphones, or the art of small screen friendly sites

What I do in ASP.NET is use a combination of master pages and CSS files for standard and mobile devices. If a request comes from a mobile, I dynamically switch to the mobile version. Presumably other environments have similar capabilities.

The key points are:
    •Keep the markup you're pushing as compact as possible.
    •Design for a single column, flowed layout.
    •Use only em or percentages for sizing (including text margins); px only for borders and body.
    •Use only lowest-common-denominator fonts: arial, times new roman, courier, serif, sans-serif, fixed; avoid font calls as much as possible.
    •Avoid overly large or small font sizes.
    •Assume the worst and that your screen width won't be bigger than 200px
    •HAVE ZERO DEPENDENCY ON CSS and javascript for anything to work.
    •DO NOT USE FLASH for anything that the visitor does not have to explicitly download.
    •Assume images will not render. Absolutely don't use graphics for "titles" or text.
    •Include physical dimensions of images or tables.
    •Create WAP-scaled versions of significant images such as logos.
    •For variable images (such as a today's headline), if you are using ASP.NET or PHP you can resize images on the fly with some server-side code (beware of the load on the server, though). If you don't have the ability to do server-side resizing, specify width and the browser should do it (though likely with considerable loss of fidelity)

--
There is no giant fur-bearing trout.
-
Forums » Tech and Talk » OS and Software » Webmasters and Developers[Chat] C++, Thinking out loud ... »
« Sub-contracted software developer owning software ?  


Wednesday, 09-Dec 12:37:47 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [197] Sprint Sued For Distracted Driving Death
· [81] 3G Network Test Says AT&T Is Tops
· [72] Mediacom Unveils 105 Mbps Pricing
· [65] Sprint Poised For A Turnaround?
· [64] AT&T Launching New 24 Mbps U-Verse Tier
· [57] WPA Cracker: Test WPA-PSK Networks In 20 Minutes
· [50] The Future Of Wi-Fi Is Bright
· [47] Site Leaks Yahoo, Verizon Fed Data Share Pricing
· [44] Microwaving Your Innards Is Not 'Extreme'
· [39] Verizon LTE: 5-12 Mbps Downstream
Most people now reading
· Cross Server Dungeon Experience [World of Warcraft]
· Comcast refused to install 400' feet. [Comcast HSI]
· Is sleeping similar to being dead? [General Questions]
· HOA Headaches [General Questions]
· The aftermath [World of Warcraft]
· Buzzing whatchamacallit in ceiling...?? Help identify. [Home Repair & Improvement]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Smoke detectors gone wild [Home Repair & Improvement]
· persistent connection to qw-in-f113.1e100.net on boot [Security]
· [game] CG6 - Gunslinger - Day 1 [Pub Games]