read style attributes from html, output a stylesheet