On 2011/01/11 14:00 (GMT-0500) bho...@aol.com composed:
Hi. I'm trying to write something in a div that measures 400px wide. It looks fine on my computer screen, but on an iPhone, the text exceeds the div. It looks fine on the Droid. Is there anything I can do?
Set widths in em instead of px. You have no idea how big a px is, while it is all but certain that an em relates to a suitably legible font size. e.g., set that 400px width instead to 25 em, and it will nevertheless be displayed 400px wide in most desktop browsers, while considerably less wide on most handheld toys. A side benefit is that it will be wider than 400px when it needs to be, such as on TV and other high resolution screens.
-- "How much better to get wisdom than gold, to choose understanding rather than silver." Proverbs 16:16 NKJV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/