View Single Post
  #10 (permalink)  
Old 07-31-2008, 03:02 PM
David McRitchie
 
Posts: n/a
Re: How to see number of current lines and total num of lines in thecurrently displayed page

"V S Rawat"
> Just like MS Word and various text-html-script editors have an option to
> just display a line num at the start of every line. it doesn't go in the
> actual text/ html/ script.


That applies to a hardened printable copy of a MS Word document.

How does that apply to an HTML document. If you change anything
your line numbers would be different. Name any browser that shows
line numbers, it is not part of html, sure you could take an HTML document
and place line breaks and permanent line numbers and use HTML to display
that document, but that would not be the original, nor a normal HTML document..

With hard line breaks, your document might wrap lines but the actual line number
would have to be part of the document. I can guarantee that none of my
web pages have such line numbers included for display output, and I doubt
that any significant quantity of HTML documentation exists that is not done
for legal purposes and as such would be subject to severe restrictions on changes.

What you see is dependent on:
- width of window
- font and size, foundry of font, operating system
if you had a Mac you could control kerning yourself
- print driver, and they control what you see on screen
- margins
- zoom level


Reply With Quote