You are here: Re: Counting Lines of Rendered HTML? « HTML « IT news, forums, messages
Re: Counting Lines of Rendered HTML?

Posted by Adrienne Boswell on 06/07/06 21:04

travismcmahan wote:
> Hello,
>
> I am working on a project that requires me to paginate a dynamic length
> html document so I can then in turn send each page to a PDF conversion
> component. I have been researching for an hour now and have yet to
> come across a solution.
>
> The data I am dealing with is a string with embedded html. I need to
> determine how many lines the rendered output will use in a browser so I
> can issue a page break appropriately.
>
> Any suggestions? Thanks in advance!

You could perhaps do something with characters. When 70 characters are
reached, you might have a line break, so you could calculate from that.

--
Adrienne Boswell at work
http://atlas.nextblock.com/files/
Please respond to the group so others can share

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация