Chris Moore
|
Posted: 08/08/2003, 10:53 AM |
|
I have a Form Label that I am using to display an error message. This label
is not part of a form or grid, it is just on my page below my Search Form &
Results Grid. I am trying to use the Style feature (from CCS) to set my
colors and size. When I test my page (in IE), my error message shows up
correctly (I am setting the Visible property to True or False depending on
if there was an error) but it is not using any of my style (bold, red,
12pt, etc). What am I doing wrong?
Thanks.
|
|
|
DonB
|
Posted: 08/08/2003, 11:24 AM |
|
You might have to enclose the tag (e.g., {xyz}) that represents the label
with a DIV: <DIV class='somevalidcsselement">{xyz}</DIV>. Labels have no
inherent HTML attributes, they are just string-substitutions done by the
Template object. Using a DIV will let you associate a style with the tag.
As it is, it's probably using the <BODY> default style elements.
DonB
"Chris Moore" <chris@dblayout.com> wrote in message
news:Xns93D18374A2FEEcabubba@66.180.229.147...
> I have a Form Label that I am using to display an error message. This
label
> is not part of a form or grid, it is just on my page below my Search Form
&
> Results Grid. I am trying to use the Style feature (from CCS) to set my
> colors and size. When I test my page (in IE), my error message shows up
> correctly (I am setting the Visible property to True or False depending on
> if there was an error) but it is not using any of my style (bold, red,
> 12pt, etc). What am I doing wrong?
>
> Thanks.
|
|
|
|