Author: gawiz | Posted on: 7/16/2010 12:59:30 PM | Views : 445

I've built a TreeView in ASP.NET 3.5 and it works great, except the expand and collapse images (which are 20px by 20px) do not align properly with the text in the nodes.  Below is a screen shot of the applicable tree, with all items selected to allow you to see where the items are lined up.  I need the text to be vertically centered (by one means or another) so it lines up with the center of its expand/collapse image.
I've tried numerous tricks to make this happen, including CSS, but can't seem to find the right technique.  Any and all suggestions will be appreciated.

Thanks - Steve





...

Go to the complete details ...