Exploring GoogleDocs, I noticed that it has limited CSS support. When uploading an MSWord .doc or HTML file and exporting it as HTML, all styles are applied inline. Although there is a style block in the HTML file, non-inline styles do not get applied when re-uploading the HTML file to Google Docs.
This got me thinking, "Is there a Ruby tool available for this?" Is there any tool out there that can take CSS and parse it into the HTML nodes, perhaps using a nokogiri plugin?