title: Printing Textarea element on PDF without being overflow
body: <p>I'am Generating a PDF with the help oh HTML and PHP. But the  text in textarea in getting overflowed. The text in printing only in a single line.
  My HTML Code is</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>  
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;registration form&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;h2 ALIGN="CENTER"&gt;Registration form&lt;/h2&gt;
  
  &lt;form action="pro1.php" method="post"&gt;
  &lt;table border="0" align="center"&gt;
   &lt;tbody&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="id"&gt;Id: &lt;/label&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input id="id" maxlength="50" name="name" type="text" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="name"&gt;Name: &lt;/label&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input id="name" maxlength="50" name="name" type="text" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="course"&gt;Course: &lt;/label&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input id="course" maxlength="50" name="course" type="text" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="branch"&gt;Branch: &lt;/label&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input id="branch" maxlength="50" name="branch" type="text" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="rolln0"&gt;Rollno: &lt;/label&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input id="rollno" maxlength="50" name="rollno" type="text" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="email"&gt;Email_Address:&lt;/label&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input id="email" maxlength="50" name="email" type="text" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="username"&gt;User_Name:&lt;/label&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input id="username" maxlength="50" name="username" type="text" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="aboutus"&gt;About Us:&lt;/label&gt;&lt;/td&gt;
     &lt;td valign="middle" align="center"&gt;&lt;textarea  wrap="wrap" rows ="1" cols ="1" name = "aboutus"&gt;&lt;/textarea&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td&gt;&lt;label for="password"&gt;Password:&lt;/label&gt;&lt;/td&gt;
     &lt;td&gt;&lt;input id="password" maxlength="50" name="password"
      type="password" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
     &lt;td align="right"&gt;&lt;input name="Submit" type="Submit" value="Add" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  
   &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;/form&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>and my PHP Code is
      
  
  <pre><code>        require('fpdf/fpdf.php');
          $pdf = new FPDF();
          //var_dump(get_class_methods($pdf));
          $pdf -&gt; AddPage();
  
          $pdf-&gt;SetFont("Arial","B",16);
          $pdf-&gt;Cell(0,10,"Welcome {$pro_name}",1,1);
          $pdf-&gt;Cell(50,10,"Name: ",1,0);
          $pdf-&gt;Cell(50,10,$pro_name,1,1);
          $pdf-&gt;Cell(50,10,"Branch: ",1,0);
          $pdf-&gt;Cell(50,10,$pro_branch,1,1);
          $pdf-&gt;Cell(50,10,"Roll No: ",1,0);
          $pdf-&gt;Cell(50,10,$pro_rollno,1,1);
          $pdf-&gt;Cell(50,10,"Email: ",1,0);
          $pdf-&gt;Cell(50,10,$pro_email,1,1);
          $pdf-&gt;Cell(50,10,"About Us: ",1,0);
          $pdf-&gt;Cell(50,10,$pro_aboutus,1,1);
  
          $pdf-&gt;output();
      }
  ?&gt;
  </code></pre>
  
  <p>please help me, and tell me what should i do so that my text area prints within the a4. Thank You In Advance</p>