Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Welcome to the Monastery
 
PerlMonks  

Re: Looking for an HTML structure-cleaner

by sundialsvc4 (Monsignor)
on Nov 03, 2011 at 13:44 UTC ( #935661=note: print w/ replies, xml ) Need Help??


in reply to Looking for an HTML structure-cleaner

The documents in question are documents, e.g. literary passages, sometimes-elaborate math formatting and so on, all of which are being presented as a part of a vocational test-giving application.   So, the formatting (egregious as it sometimes is...) is important.   My problem is that, sometimes it is incomplete.   Therefore, when my template embeds it into a <div> tag, without the proper closing-tags within the embedded text that <div> tag is not seen as enclosing it anymore.

So, thinking about this requirement a little bit more, I guess that I am really most concerned with “DOM structure” matters ... of making sure that the content, whatever it is, gets wedged into the container.   I really don’t want to delve into the guts of that content.   I simply want to keep it inside the box.   Of course I thought about using the <frame> tag, but the deployment is so bandwidth-constrained that the result looks perfectly dreadful.

You’re right about the Word-generated HTML content, tho’ ... it is hideous.   But, it works.   And I basically want to keep it working.


Comment on Re: Looking for an HTML structure-cleaner

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935661]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2014-04-24 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls