I am loading the styles dynamically from the database in my asp.net mvc (C#) application.
I am trying to change some of the properties like (background, font color, font size,...) of the loaded inline style. I am using jquery.rule to do this.
I need to update the complete inline style including the changes, back to the database using jquery.
The inline style inside the head looks like:
<style type="text/css">
<!
-- body
{
background: #fff;
margin: 0px;
padding: 0px;
font: normal 12px Tahoma, Verdana, Arial;
color: #636363;
}
a
{
color: #d0d0d0;
text-decoration: none;
}
#header
{
padding-left: 35px;
height: 60px;
vertical-align: middle;
padding-top: 25px;
}
-- ></style>
I need to get updated inline style. How to do it?