Advanced Search

Results 1 to 2 of 2

Thread: need help in DIV width.....

  1. #1
    Join Date
    Feb 2009
    Posts
    156
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Default need help in DIV width.....

    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...?

  2. #2
    Join Date
    Jul 2009
    Location
    Coquitlam BC Canada
    Posts
    46
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    are you using php to display the info? if so, cant you just use:
    Code:
    <center><?php echo $_POST['feedback_textarea_name'] ;?></center>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •