OdontonetEs Posted March 21 Share Posted March 21 Hello, I am presenting the following problem: I have some CSS classes in the customCSS property of the server module. In a control of type TUniHTMLFrame I try to create some tags of type "div" at run time. What happens is that on Windows everything works fine, but when I deploy the application to Linux, the CSS is not applied. I understand that Linux is a bit different, but the strange thing is that the CSS classes are in the customCSS property of the server module, that's why my doubt. this is the code: with panelComentarios do begin html.Add('<div class="time">'); html.Add( lowercase(fieldbyName('nombre').AsString)+lowercase(fieldbyName('apellido1').AsString) ); html.Add(DateTimeToStr(fieldbyName('fecha').AsDateTime) ); html.Add('</div>'); html.Add('<div class="message">'); html.Add(fieldbyName('descripcion').AsString); html.Add('</div>'); end; Thanks Quote Link to comment Share on other sites More sharing options...
OdontonetEs Posted March 21 Author Share Posted March 21 Fixed, I have changed the class structure. Apparently there was a bug in the Linux version. Greetings. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.