T
ton
Hi,
I'm trying te use css files. To do this I've created a style sheet. My first
question is how can I modify the properties (font & color) of menu controls
and the treeview control. These controls are now designded like:
<asp:Menu ID="mnuCompass" runat="server" Style="z-index: 101; left: 8px;
position: absolute; top: 28px" Width="176px" CssClass="compass10"
Height="32px">
And the treeview:
<asp:TreeView ID="TreeView1" runat="server" Height="800px"
ImageSet="Msdn" NodeIndent="15" ShowLines="True" Style="z-index: 101;
position: absolute; left: 0px; top: 12px;" Width="240px"
CssClass="compass10" >
<HoverNodeStyle Font-Underline="True" />
<SelectedNodeStyle BorderStyle="None" Font-Underline="True"
HorizontalPadding="0px" VerticalPadding="0px" />
<NodeStyle HorizontalPadding="2px"
NodeSpacing="0px" VerticalPadding="2px" />
</asp:TreeView>
In my stylesheet I've defined 'compass10'
..compass10 { font-family: Arial; font-size: 10pt ; color: White;
text-align:left}
but there is no way that these elements "listen" to this css setting.
Other elements like textboxex, labels with the samen cssclass value do
change due to the setting in the style sheet
Please help
thanx
Ton
I'm trying te use css files. To do this I've created a style sheet. My first
question is how can I modify the properties (font & color) of menu controls
and the treeview control. These controls are now designded like:
<asp:Menu ID="mnuCompass" runat="server" Style="z-index: 101; left: 8px;
position: absolute; top: 28px" Width="176px" CssClass="compass10"
Height="32px">
And the treeview:
<asp:TreeView ID="TreeView1" runat="server" Height="800px"
ImageSet="Msdn" NodeIndent="15" ShowLines="True" Style="z-index: 101;
position: absolute; left: 0px; top: 12px;" Width="240px"
CssClass="compass10" >
<HoverNodeStyle Font-Underline="True" />
<SelectedNodeStyle BorderStyle="None" Font-Underline="True"
HorizontalPadding="0px" VerticalPadding="0px" />
<NodeStyle HorizontalPadding="2px"
NodeSpacing="0px" VerticalPadding="2px" />
</asp:TreeView>
In my stylesheet I've defined 'compass10'
..compass10 { font-family: Arial; font-size: 10pt ; color: White;
text-align:left}
but there is no way that these elements "listen" to this css setting.
Other elements like textboxex, labels with the samen cssclass value do
change due to the setting in the style sheet
Please help
thanx
Ton