gerble1000
01-15-2012, 02:15 PM
here is my problem
i need to set the color of a text here is what i need to change
<div style="position:absolute; left:10px; top:100px; width:250px; text-align:center;">
<font color="lightgreen" size="6"><b>* Mileage *</b></font><b>
<font color="black" size="6"><div id="bullet4">Not Specified</div></font><br></b>
<font color="lightgreen" size="6"><b>* Gearbox *</b></font><b>
<font color="black" size="6"><div id="bullet5">Not Specified</div></font><br></b>
<font color="lightgreen" size="6"><b>* Engine size *</b></font><b>
<font color="black" size="6"><div id="bullet6">Not Specified</div></font><br></b>
<font color="lightgreen" size="6"><b>* Body style *</b></font><b>
<font color="black" size="6"><div id="bullet7">Not Specified</div></font><br></b>
</div>
now i need to set the color from a text file server side
so far i can set the contents of the div serverside but the customer needs to be able to change the color of the innerhtml .
now i would like to store the color in a text file color.txt i can make the code to change the txt file myself
inside the color.txt would be "lightgreen" or other color
how would i go about this.
so in basic terms i need to set the color of the text from a color.txt file sat next to the index.html :)
i need to set the color of a text here is what i need to change
<div style="position:absolute; left:10px; top:100px; width:250px; text-align:center;">
<font color="lightgreen" size="6"><b>* Mileage *</b></font><b>
<font color="black" size="6"><div id="bullet4">Not Specified</div></font><br></b>
<font color="lightgreen" size="6"><b>* Gearbox *</b></font><b>
<font color="black" size="6"><div id="bullet5">Not Specified</div></font><br></b>
<font color="lightgreen" size="6"><b>* Engine size *</b></font><b>
<font color="black" size="6"><div id="bullet6">Not Specified</div></font><br></b>
<font color="lightgreen" size="6"><b>* Body style *</b></font><b>
<font color="black" size="6"><div id="bullet7">Not Specified</div></font><br></b>
</div>
now i need to set the color from a text file server side
so far i can set the contents of the div serverside but the customer needs to be able to change the color of the innerhtml .
now i would like to store the color in a text file color.txt i can make the code to change the txt file myself
inside the color.txt would be "lightgreen" or other color
how would i go about this.
so in basic terms i need to set the color of the text from a color.txt file sat next to the index.html :)