develooper Front page | perl.perl5.porters | Postings from January 2012

Re: [perl #74158] perl2html output concerns

Thread Previous
Aristotle Pagaltzis
January 8, 2012 00:07
Re: [perl #74158] perl2html output concerns
Message ID:
* Robert Spier <> [2012-01-08 08:20]:
> Wouldn't it be cleaner to just change bodystyle to:  background-color:
> white; color: black?
> Or even better, if we're assuming CSS support, move *all* the styling
> into a <style> block.  Last definition wins, so users can still
> provide an external stylesheet to override any defaults.

That was a bigger patch than I wanted to attempt. I know one thing led
to another back when I looked at this and I soon had a fairly big patch
yet not a really complete. At that point I decided to cut losses and do
a surgical fix for precisely the one thing the ticket was asking for,
and leave the rest alone.

If someone had the ambition to clean up the file – the whole mark-up
could stand to be a lot cleaner, if memory serves. I seem to remember
it produces pre-CSS era HTML3-style output (using a table for trivial
layout, among others (just to set a background colour or some such)).

Aristotle Pagaltzis // <>

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About