Originally Posted by
gsouza
Hi everybody this is my first post. I don't know if this can be done, I have tried to do this but have failed. Is there anyway to change the background color of a Web Control. If so I would love to know how to do it. I want the back ground color to match the gif file I have associated with it.
Thanks for any help.
Yes you CAN. BUT you will need to have a loader page with html coding to
reference your gif and then code the page to change colour.
Note: The BG colour matching of the gif will need to be done manually
ie you will need to set this colour to match in your html code.
briefly: Here is what I have done
saved the following as html
HTML Code:
<HTML>
<CENTER>
<BODY
bgColor = "WHITE"
SCROLL="NO"
<a href="http://www.xcelfiles.com ">
<IMG SRC="C:\MySite\A.gif"
Border = 0
Align = MIDDLE>
</a>
</CENTER>
</html>
called it "Test.html"
Loaded this up via usually method of the control.
Change the address to your animated gif, to yours.