Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Re: Different widths for different browsers

 
Thread Tools Search this Thread
Old 11-05-2009, 12:57 PM   #1
Default Re: Different widths for different browsers


On 5 Nov, 11:26, Barely Audible <anywh...@but.here> wrote:
> Probably a hopeless question but is there anything I can embed in an
> html page that will enable me to have a different page width for an
> ordinary browser or a mobile phone browser when they access the page?


Not really. If you want this sort of tailoring, you need to look at
server-side dynamic behaviour based on browser sniffing (a ghastly
notion at best, but barely excusable here). Protocols like CC/PP
promise much, but don't deliver too well. It's actually quite hard to
determine "mobile vs. desktop" and sniffing for the OS is generally
more robust than sniffing for browsers and less often spoofed.

Really though, go read the free online copy of Joe Clark's book on
accessible web design. In particular, read the sections on the
importance of a well-linearised site, and on fluid design.

Fluid design makes your site content render usefully well no matter
what the window width (remember it's window, not screen, that
matters). It can't render "as well" (it's smaller), but it does mean
that things don't break and your sideways positioning gracefully
degrades to a vertical stack as necessary, without either truncation,
overlap, or (ideally) needing to use sideways scrolling as well.

Fluid design is important (and important purely for desktops) but even
that's not enough. Most mobile browsing now (compared to 5 years ago)
is done through palmtop and tablet devices that have a reasonable
screen width of 600 or 800, rather than the pure phone of 200 square.
However they're still short on connection bandwidth. Their browsers
should render incrementally as content appears (Opera is noticeably
poor at this, just look at the Nokia 800 tablets). Sites should also
be very careful about their linearisation order, and in not serving
superfluous content (mostly excess ads) that make page access unusably
slow. These are server-side issues, not client-side!

No matter how clever your page design and how fluid your CSS layout
is, getting good usability to today's tablet devices requires a
careful allocation of bandwidth, and that's why we're back looking at
user-agent sniffing.



Andy Dingley
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dummie Question about Browsers Alohacyberian Computer Support 24 06-10-2006 12:55 AM
Two Browsers work! Two browsers won't load. Internet game service won't load jimmie Computer Support 1 02-26-2006 08:36 AM
Someone with Opera or Firefox browsers Arild Computer Support 26 08-20-2005 06:39 AM
Alternate Browsers - FireFox Bay0Wulf Computer Support 8 07-03-2004 06:25 AM
Browsers that don't respond to <style> very well (if at all) Ed B. Norton Computer Support 7 07-27-2003 07:43 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46