Previous Message
Next Message

identify all text elements and wrapping in screen width

Sent by zaheer ahmad on 18 April 2008 13:01


hi,
thanks for your reply. i think my problem is different. text-align:justify
would justify the text in the container that its in. so it does not solve my
problem where it should  always wrap in the screen width (e.g. as google
search results do if you resize the window). i also need a way to identify
all text elements with a rules otherwise do i need to something like
div,span,p,marquee..{some rule }

thanks,
Zaheer

On Fri, Apr 18, 2008 at 5:53 PM, Usamah M. Ali [EMAIL-REMOVED]> wrote:

> You can use the declaration text-align: justify; on all textual
> elements, if that what you mean by your post.
>
> On Fri, Apr 18, 2008 at 2:09 PM, zaheer ahmad [EMAIL-REMOVED]>
> 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.
> >
> >  thanks in advance for any inputs.
> >
> >  regards,
> >  Zaheer
> >  ______________________________________________________________________
> >  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/
> >
>
______________________________________________________________________
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/
Previous Message
Next Message

Message thread: