I think you're going about it backwards. What you should do is find pieces of text with font information and strip it out. Then CSS can be applied with predictable results to the pages.
For modifying the X?HTML I'd recommend HTML::TreeBuilder or HTML::TokeParser. It's not difficult at all (though it can be a bit verbose). There are a few CSS modules too but probably not what you need.
update: took a stab at it below.
In reply to Re: (OT) Styling WebSite
by Your Mother
in thread (OT) Styling WebSite
by artist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |