04-27-04 04:35 AM
Hi Kyle
Could you tell us how the Css styles were applied?
I've tested the control using an externally linked css
file e.g:
<LINK href="myStyle.css" type="text/css" rel="stylesheet">
which contains:
.myCssClass
{
color: brown;
background-color:yellow;
}
and all the styles were applied, color, background and all.
Hmmm.. are you embedding the styles within a
<style></style> tag? Or maybe there is something else
overriding the styles?
Trevor
>-----Original Message-----
>Does anyone have an idea why this might be happening?
Neither the foreground color nor the background color are
applied to the ActiveX control, despite what the CSS class
says. I found a workaround so that the background color is
applied to the ActiveX control but that doesn't do me any
good if the foreground color doesn't work. Right now, the
only solution I can think of is to parse the CSS file,
find the class I want, and apply the color/background-
color to the placeholder's body element explicitly.
>.
>
[ Post a follow-up to this message ]
|