given the html content, find out the height of the page for the given width,before rending the page.
- by ganapati hegde
Hi, i am interested in finding out the height for a given width,taken by the webpage for the given HTML content.
Ex.say given html content is,
< html < body < h6My First Heading<
/h6 < pMy first paragraph.... ...
....< /p < /body < /html
========================================
How can i find out the height the webpage(corresponding to the given content), for a given width ?
i want to calculate the height before loading the webpage... i.e i dont render the page, but using the "contents" only,i want to calculate the height...