In a WebView i am loading html file.The html page is displayed with black background.
I want it to be semitransparent. If I set setAlphaValue: then webview content transparency changes. Is there a way to set (or control) transparency of html background.
Editing html file would be last option.
Option 1: Edit the HTML or CSS:
Option 2: Apply the transparency using JavaScript:
EDIT
Snippet related to second option: