H
HoustonFreeways
I want to be able to set a maximum width on a block of text - say 600
pixels.
If the browser is larger, the text area is 600 pixels wide.
If the browser size is smaller than 600 pixels, I want the text area to
dynamically resize to the browser width and I don't want a scrollbar. This
is the behavior you get if you set table width to 100%, but of course if you
do that then there is no 600 pixel limit on the width. Setting table width
to 600px or DIV width to 600px causes scrollbar behavior when the browser is
less than 600 px wide.
I've experimented with tables and DIV blocks (overflow style), but no luck.
The reason I want this is for pop-up help screens.
Can this be done?
pixels.
If the browser is larger, the text area is 600 pixels wide.
If the browser size is smaller than 600 pixels, I want the text area to
dynamically resize to the browser width and I don't want a scrollbar. This
is the behavior you get if you set table width to 100%, but of course if you
do that then there is no 600 pixel limit on the width. Setting table width
to 600px or DIV width to 600px causes scrollbar behavior when the browser is
less than 600 px wide.
I've experimented with tables and DIV blocks (overflow style), but no luck.
The reason I want this is for pop-up help screens.
Can this be done?