Is there a buit-in method to parse a STYLE attribute string?

  • Thread starter Thread starter Henri
  • Start date Start date
H

Henri

Hi!

consider this :
<div runat="server" id="mydiv" style="color:white;width:200px;" />

the styles contained in the style attributes are automatically parsed to the
Style property.
Is there a built-in method to import another string to the Style property.
Some kind of:

Me.Style = ParseCssText("color:white;width:200px;")

And the same to build a css string from the Style property?

I know it might not be very difficult to do it myself but if there's already
a buit-in method to do that, that would stupid :-)

Thanks

Henri
 
Back
Top