Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: CSS back into HTML

by halley (Prior)
on Mar 17, 2004 at 16:50 UTC ( #337405=note: print w/replies, xml ) Need Help??

in reply to CSS back into HTML

Sounds like an ugly task.

(1) HTML cannot express all formatting which CSS can express.
(2) The output is now hardwired to mix content and presentation. I hope you're not throwing away the clean content files.

Can you accept style="..." in your HTML tags? Those are still CSS, but without the dependence on external style sheet files.

If you can accept that, you can probably just accept a <style>...</style> ahead of the body. That should be trivial to piece together. You just replace each stylesheet reference with a style tag.

[ e d @ h a l l e y . c c ]

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2023-02-07 17:07 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (40 votes). Check out past polls.