Jump to content

Custom CSS in Server Module for linux


OdontonetEs

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...