G
Guest
I have the following code in an .net 2.0 project:
<aspanel Runat="server" id="pnlNavigation" CssClass="pnlNavigation"
Width="165px">
<asp:TreeView ID="TreeView1" runat="server"
DataSourceID="SiteMapDataSource1" CssClass="nav" BorderStyle="None"
CollapseImageToolTip="" ExpandImageToolTip="" ShowExpandCollapse="False">
<LevelStyles>
<asp:TreeNodeStyle CssClass="homenav" Font-Underline="False"
/>
<asp:TreeNodeStyle CssClass="mainnav" Font-Underline="False"
Font-Size="11pt" />
<asp:TreeNodeStyle CssClass="mainnavsub"
Font-Underline="False" Font-Size="10pt" />
</LevelStyles>
<LeafNodeStyle CssClass="mainnav" BorderStyle="None" />
<NodeStyle VerticalPadding="2px" HorizontalPadding="5px" />
</asp:TreeView>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
</aspanel>
The problem is that when displayed, the font sizes are not coming through as
set in the properties.
Any ideas?
Thanks.
<aspanel Runat="server" id="pnlNavigation" CssClass="pnlNavigation"
Width="165px">
<asp:TreeView ID="TreeView1" runat="server"
DataSourceID="SiteMapDataSource1" CssClass="nav" BorderStyle="None"
CollapseImageToolTip="" ExpandImageToolTip="" ShowExpandCollapse="False">
<LevelStyles>
<asp:TreeNodeStyle CssClass="homenav" Font-Underline="False"
/>
<asp:TreeNodeStyle CssClass="mainnav" Font-Underline="False"
Font-Size="11pt" />
<asp:TreeNodeStyle CssClass="mainnavsub"
Font-Underline="False" Font-Size="10pt" />
</LevelStyles>
<LeafNodeStyle CssClass="mainnav" BorderStyle="None" />
<NodeStyle VerticalPadding="2px" HorizontalPadding="5px" />
</asp:TreeView>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
</aspanel>
The problem is that when displayed, the font sizes are not coming through as
set in the properties.
Any ideas?
Thanks.