"Dynamic" CSS styling in asp .net?

Posted by DeeMac on Stack Overflow See other posts from Stack Overflow or by DeeMac
Published on 2011-12-02T11:45:36Z Indexed on 2014/06/09 21:25 UTC
Read the original article Hit count: 284

Filed under:
|
|
|

I have the following inside a content place holder in my asp .net pages:

<style type="text/css">

    #sortable1 { list-style-type: none; margin: 0; padding: 0; zoom: 1; }
    #sortable1 li { margin: 3px; padding: 3px; width: 90%; border: 1px solid #000000; background: #000000; color: #FFFFFF; }
    #sortable1 li.highlightWorkflow { background: #FFFF00; color: #000000; }

</style>

I would ideally like to swap the #00000's for values held on the page, maybe in hidden fields. Is this possible?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about .NET