html2css works by taking a HTML resource (from a file, a url or a string) and then turning it into a precise CSS representation.
Requires Beautiful Soup 3.0.3, which comes bundled.
>>> css = html2css('<html id="html2css"><body></body></html>')
>>> print css.display()
html {}
body {}
html#html2css {}
html#html2css body {}>>> css = html2css('http://google.com/')
>>> print css.display()
html {}
body {}
center {}
div {}
...
html {}
html body {}
html body center {}
html body center div {}
html body center div font {}
html body center div font a {}
...
