given the html content, find out the height of the page for the given width,before rending the page.
Posted
by ganapati hegde
on Stack Overflow
See other posts from Stack Overflow
or by ganapati hegde
Published on 2010-03-12T07:14:00Z
Indexed on
2010/03/12
7:17 UTC
Read the original article
Hit count: 238
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> < h6>My First Heading< /h6> < p>My 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...
© Stack Overflow or respective owner