snakehips2000
Programmer
I'm dynamically populating a Flash text box from a text file. Usiong LoadVars, the data populates fine but I can't get it to format correctly using the external CSS stipulated in the text file. Here are the simple contents of my text file:
content=<link href="../Main.css" rel="stylesheet" type="text/css"><LinkColor>07780 777774.</LinkColor>
This is my CSS file stored in a directory one level higher (I've also tried storing the CSS file in the same folder):
body {
font-family: Tahoma, Arial, Verdana, _sans;
font-size:22px;
color: ##000000;
text-align:left;
}
.style1 {
font-family: Tahoma, Arial, Verdana, _sans;
font-size:22px;
color: ##000000;
text-align:left;
}
.LinkColor {
font-family: Tahoma, Arial, Verdana, _sans;
font-size:14px;
color:#FF0000;
text-align:left;
font-weight: bolder;
}
Is there something I'm missing here?
content=<link href="../Main.css" rel="stylesheet" type="text/css"><LinkColor>07780 777774.</LinkColor>
This is my CSS file stored in a directory one level higher (I've also tried storing the CSS file in the same folder):
body {
font-family: Tahoma, Arial, Verdana, _sans;
font-size:22px;
color: ##000000;
text-align:left;
}
.style1 {
font-family: Tahoma, Arial, Verdana, _sans;
font-size:22px;
color: ##000000;
text-align:left;
}
.LinkColor {
font-family: Tahoma, Arial, Verdana, _sans;
font-size:14px;
color:#FF0000;
text-align:left;
font-weight: bolder;
}
Is there something I'm missing here?