troubleshooting Question

Add Line Numbering to Left Side of Web Pages from PHP, which Have Justified Right Margin and Outline Structure with Ordered Lists

Avatar of Randall-B
Randall-B asked on
26 Comments1 Solution290 ViewsLast Modified:
I need to add line numbering to the left side of html pages generated by PHP from HTML source code stored in a variable.
    Unlike the solution at http:Q_22414012.html,  it needs to be done without using tables. See a sample at: (which does not use tables, but unfortunately it probably lacks the ability to have right-justified margins).
    The solution needs to be compatible with justified right margin, and outline structure with ordered lists.
   What I'm trying to duplicate is what you see in this pdf file, created in Word: . But it would be generated on-the-fly by PHP by adding line numbering to the html source code stored in a variable, such as the source code of the following page, which is justified and has ordered-list structure: ).  I realize HTML itself may impose some limitations on what I want, but I hope we can work around them somehow.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 26 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 26 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros