Modifying element styling on THTMLViewer lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- K-Qha · 2019-03-30 10:17 I'm currently using THTMLViewer and I need to modify some styling, says the font color or background color, after the HTML is loaded. How do I achieve that if I know the element ID only? I guess it's somehow related to IDDisplay, but cannot find any clue whatsoever in help files and demos. Consider I have this html: Code: Pascal [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i
This is text 1 This is link 1 If I want to change, for example text1 color to red, what should I do?