what I'm used to do up until now, when there's need to dynamically set html elements style, (using web forms), I was setting hidden input(s), passing data from code behind and using jQuery to manipulate some elements.
so c# requests > passes data to html hidden field > jQuery reads and execute.
 chosenHtmlElm.css({ 
        'background-image': 'url(images/RegF.png)' },
        { 'visibility': 'visible' 
 });
is there a simple & elegant solution or should I stick to my old-school technique ?
  web page with content items 
[type1]    [default]    [type2]    [default]    []
[]    []    []    []    []
those could lead to an article / category within the website ...
so type1 has a left corner image, type2 has a right corner image default has non
I think of a logic to give each an id of category Content item, and I could then construct some logic to manage it change order, change the icon...