Roberto Nicchi Posted June 16, 2022 Share Posted June 16, 2022 Hello, I have this problem. You can replicate with the demo application (htmlEd project) Inserte three lines in the memo. Change the background color of one line (the second in my test). The first and the third lines will have a white background and won't be transparent. Look below the HTML created by TuniHTMLMemo. The first line and the third line have background-color: rgb(255, 255, 255) that is white. Is it possible to avoid this happens ? I have tryed to set the htmlmemo.color property to clNone. Doesn't help. thanks Roberto Unigui ver. 1.90.0.1561 <span style="background-color: rgb(255, 255, 255);">Row 1</span><div style=""><span style="background-color: rgb(255, 0, 0);">Row 2</span></div><div style="background-color: rgb(255, 255, 255);">Row 3<br><div><b><br></b></div></div> Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 16, 2022 Share Posted June 16, 2022 Hello, Why don't you like this behavior? Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted June 17, 2022 Author Share Posted June 17, 2022 15 hours ago, Sherzod said: Hello, Why don't you like this behavior? Because the email created with this html is visualized by Mozilla Thunderbird in this way, and is not very fancy. I think that the background should be uniform (all white or all gray). thanks Roberto Quote Link to comment Share on other sites More sharing options...
Roberto Nicchi Posted June 17, 2022 Author Share Posted June 17, 2022 2 hours ago, Roberto Nicchi said: Because the email created with this html is visualized by Mozilla Thunderbird in this way, and is not very fancy. I think that the background should be uniform (all white or all gray). thanks Roberto Ok, seems i have solved chaing the HTML that comes from the memhtml and adding a tag to set the background. emailHtmlText:='<html><body style="background-color:white;">MemoHtmlText+'</html> Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 17, 2022 Share Posted June 17, 2022 Okay. 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.