html - wkhtmltopdf content goes to the next page? -


these different pdf output. first 1 print file viewed pdfviewer , second viewed within firefox/chrome. first output works fine second pushes content of second td next page (happens when content of textarea exceeds available space in first page).

os: ubuntu 12.04 wkhtmltopdf version: wkhtmltopdf 0.12.0 03c001de254b857f08eba80b62d4b6490ffed41d firefox: 23.0 google chrome version: version 34.0.1847.132

code:

 css   textarea {      resize: none;      line-height: 1.5;  }   html  <div>            <table>          <tr>          <td><label>gross/microscopic descriptions</label></td>      </tr>      <tr>      <td><textarea></textarea></td>      </tr>      </table> </div> 

i'm not sure disconnect because works fine when saved file?

print file version enter image description here

viewed within firefox/chrome enter image description here

<input="textarea" /> invalid html. should

<textarea></textarea> 

see here more info on textarea tag https://developer.mozilla.org/en-us/docs/web/html/element/textarea

i recommend use html validator check html correct pick errors this.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -