problem in DIV Width....in CSS
hi, i am using a feed back form , when a user gives feed back, and web pages shows that data, all the spaces and linebreaks go away, and text becomes one paragraph, so i used pre tag,
its working good, now all text is being shown as user enters with tabs and spaces,
but i am facing a problem, when user enters fedback without enterkey, all the text appears in one line only, means it crosses all the boundries of DIV tag's width.... and makes page wide....
plz give me ur valueable suggestion how i can controll the PRE tag with DIV tag's width...?
there is a page in zip attatchment , with 4 DIVS, plz visit that page and after that give ur valueable suggestion ....
is there any web forum where CSS EXPERTS can give solutions quickly...?
Last edited by Snookerman; 08-19-2009 at 12:50 PM.
I havent checked your download but have you defined the width/height of your div and set overflow (for scrolling) to auto?
<div style="width:150px; height:300px; overflow:auto">