On 1/11/11 2:00 PM, bho...@aol.com wrote:
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? Thanks, Bruce
Desktop and handsets read the media query. Set nothing smaller than default [100%].
@media only screen and (max-width:480px),only screen and (max-device-width:480px)
{html, body{font:100%/1.4 Helvetica,Arial,sans-serif;} #your_division {width: 100%;} #your_division p {font-size: 100%} } <div id="your_division"><p>....</p></div> Best, ~d -- http://chelseacreekstudio.com/ http://chelseacreekstudio.com/fa/ ______________________________________________________________________ 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/