I have an aspx page with a ListView on it being populated from a database. A dropdown is at the top of the page and the user can select which client to view. Each client has different colors for text and borders and such. I have a stylesheet for every cleint, but in the css classes, I'm only changing 3 things and the rest stays the same.
border: solid 2px #000; /** this changes **/
margin: 0px auto;
background: #8988a5 url(../images/sgtitle-bg.gif); /** this changes **/
border-bottom: solid 1px #000; /** this changes **/
padding: 0px 0px 0px 5px;
We have over 40 clients coming and it's ridiculous to have over 40 style sheets when only 3 lines are changing. How do I modify or create css classes in C#? This is .NET 4.0