zaheer ahmad wrote:
> i have a requirement to wrap all text elements in the page to the
> screen width
That's what happens automatically, unless you do something to prevent
it, provided that the text contains spaces (or other characters that
allow a line break to be generated by a browser). So what is the
problem, in practical terms? URL? If it's long words, then there's
really nothin in CSS that helps, but inserting soft hyphens usually
helps.
> 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 cannot see what you mean. You don't need to identify anything to make
text wrap. In a narrow window, images, tables, and long words will be
problems, but they each need different treatment.
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/