does anyone has an idea about replace css styles into style attribute on html tags example you have css file, html file
css:
#example { color: #CCC; font-weight: bold; }
html:
<div id="example">Example</div>
and you will have this when you run php
<div style="color: #CCC; font-weight: bold;">Example</div>
why oh why :)
some work need inline styles for some system that doesn't support <link>, <style> or script tags
example:
E-mail template (all of you can not insert <link>, <style>, <script> inside the email right ?),
or build HTML for insert in another system (product detail in amazon.com, ...)