Sent by David Hucklesby on 19 April 2008 20:08
On Fri, 18 Apr 2008 16:39:01 +0530, zaheer ahmad wrote:
> hi,
> i have a requirement to wrap all text elements in the page to the screen width to
> improve readability on a small screen device like a mobile phone/pda.
> would like to know if this can be accomplished just with a user agent css - rule to
> identify all text elements - fit them to the screen width
> - layout of all other elements should adjust accordingly - any exceptions or usecases
> that cannot be addressed.
>
I think you must be talking about a layout with a specified width
(EMs or pixels)? I have not tried this, but perhaps "max-width: 100%;"
on the outer container (inside BODY) might work.
Cordially,
David
--
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/