How are you specifying the font size? Are you using CSS?
If so, you can create a CSS rule that indicates that all child elements or
all descendant elements or all child elements of a specific type, or all
descendant elements of a specific type should inherit the style. The syntax
is:
Descendant:
Descendants are references separated by a space:
div p (all paragraph descendants of a div)
#id * (all descendants of an element with the id of "id")
div * p (all paragraph descendants of any element that is
a descendant of a div - not immediate children)
..class div p (all paragraph elements that are inside a div that is inside an
element of class "class")
Child (immediate descendant):
Children are references separated by a '>' character:
div p (any paragraph that is an immediate child of a div)
#foo div p (any paragraph that is an immediate child of a div which
is an immediate child of an element with the ID "foo"
See
http://www.w3.org/TR/REC-CSS2/selector.html for more details.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"JimHeavey" <Ji*******@discussions.microsoft.comwrote in message
news:DF**********************************@microsof t.com...
If I create a <divand specify that I want the font-size to be 1.2em for
instance, why do the <asp:controls not follow this rule if they are
contained within the <divstatement?
How/what do I need to do to get them to follow this rule? Am I forced to
place a CssClass on each control?
Thanks in advance for your assistance