If I have the following HTML:
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<link href="base.css" rel="stylesheet"/>
</head>
<body>
<div class="caption">
Test
</div>
</body>
</html>
And I have this HTML as a STRING Called HtmlText, and I set the .htmlText property of an Adobe Air HTML Control to it something like this:
HTMLControl.htmlText=HtmlText;
Into what folder do I put ‘base.css’ so that it is applied to the content of the Adobe AIR HTML control?
I don’t know if you can use external CSS in this context.
But there is another way: you could load/inject the CSS file using JavaScript:
Adaptation of this.