<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>7 Jun 2016 11:46:00 Z</lastBuildDate><pubDate>7 Jun 2016 11:46:00 Z</pubDate><description>Is there anyone who knows how to work with CSS in WebDev correctly? I need a simple thing - to change the icon (background-image) for a button depending on some condition. I create 2 CSS classes and set the one for a button as default (via Style) page in control properties window. Then I use the simple code:&#13;
&#13;
IF SomeCondition THEN&#13;
BTN_Search..HTMLClass = "Some-CSS-Class"&#13;
END&#13;
&#13;
The icon is not changed. I inspected the element and see that new CSS class is accumulated in class attribute of the button and the current value of background-image is overriden by previous CSS.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57994-css-webdev/read.awp</link><title>CSS in WebDev</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
