Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Looking for an HTML structure-cleaner

by sundialsvc4 (Abbot)
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?
[james28909]: yeah but it would rename those subs xD
[Lady_Aleena]: I'd say, go back to my scratchpad, and really look at what the 3 subs are doing, then play. Meanwhile, I am going afk for about an hour +/- a few minutes.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-05-24 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?