I'm glad that you want to do this...
You're going to have a few problems though because the
class attribute of HTML elements should contain the name of a CSS class that contains the style for the element. It should not contain any CSS.
So, the HTML mark up that you are looking to achieve is invalid:
- <div
-
style="position:absolute;left:38.20px;top:144.02px"
-
class="font-family:Arial,serif;font-size:22px;color:rgb(51,51,51);font-weight:bold;font-style:normal"
-
>
It should be:
- <div
-
style="position:absolute;left:38.20px;top:144.02px"
-
class="cls_002"
-
>
Because the class attribute of the div is expecting the name of the class(es) that contain the style for the div and "cls_002" is the class name for the div's style.
I do not understand your problem so I can't help you any further.
You have outlined what you "want" to do but haven't actually told us what you've tried or
why you want to do this....all I know is that you are trying to achieve something that will ultimately not work in the end.
-Frinny