Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6384053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:43:35+00:00 2026-05-25T02:43:35+00:00

If I have the following HTML: <!DOCTYPE html> <html> <head> <title>Test</title> <link href=base.css rel=stylesheet/>

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:43:35+00:00Added an answer on May 25, 2026 at 2:43 am

    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:

    var css_file:File = File.applicationDirectory.resolvePath("assets/thecss.css");
    var css_string:String;
    if(css_file.exists)
    {
        var file_stream1:FileStream = new FileStream();
        file_stream1.open(css_file, FileMode.READ);
        css_string = file_stream1.readUTFBytes(file_stream1.bytesAvailable);
    }
    var css_style:Object = html.htmlLoader.window.document.createElement("STYLE");
    css_style.type = "text/css";
    css_style.innerText = css_string;
    html.htmlLoader.window.document.getElementsByTagName("head")[0].appendChild(css_style);
    

    Adaptation of this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Take the following markup: <!DOCTYPE html> <html> <head> <title>My test for StackOverflow</title> </head> <body>
I have the following function below: public function setupHead($title){ $displayHead .='<!DOCTYPE html PUBLIC -//W3C//DTD
i have the following div in my website: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
I have the following HTML <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> <html
Let's say I have the following minimalistic HTML code: <!DOCTYPE html PUBLIC -//W3C//DTD XHTML
I have the following webform: <%@ Page Language=C# AutoEventWireup=true CodeBehind=Default.aspx.cs Inherits=TestWebApp.Default %> <!DOCTYPE html
I have the following HTML (note the CSS making the background black and text
I have the following html code: <h3 id=headerid><span onclick=expandCollapse('headerid')>&uArr;</span>Header title</h3> I would like to
I have the following HTML node structure: <div id=foo> <div id=bar></div> <div id=baz> <div
In my index.html page, I have an empty table defined as following: <body> ...

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.