Why do ASP.NET TreeView nodes align middle

st0ne

New Member
Why do ASP.NET TreeView nodes vertically align middle by default? Is there a way around it? I want to have a full page height TreeView with nodes aligning top. This simple line creates a TreeView with nodes appearing in the middle of the TreeView:\[code\]<asp:TreeView runat="server" ImageSet="Inbox" ID="tvMain" Height="500px" />\[/code\]This is VS2010 + ASP.NET 4.0 if that has something to do. Plus I'm open to CSS solutions if that is what it takes.
 
Back
Top