Hi all,
I had problems on all browsers with my Telerik tree looking untidy and out of alignment until I remembered that the overall style-sheet for my site has a default style for the <li> tag, namely:
li
{
padding: 3px 2px 5px 2px;
}
The tree makes heavy use of <li> tags but for some reason doesn't override the default styling, so I had to do it manually in the HTML of the control.ascx file that contained the tree:
<style type="text/css">
/* UNDO standard <li /> styling for the Telerik tree */
li
{
padding: 0px !important;
}
</style>
<telerik:RadTreeView ID="rtvSearchResults" runat="server" DataTextField="VariableName" style="white-space: normal;">
Telerik, any chance this could be fixed in a future release? (Or it in fact not possible to "fix" this, in which case could we have it highlighted in the documentation?)
Ed Graham
I had problems on all browsers with my Telerik tree looking untidy and out of alignment until I remembered that the overall style-sheet for my site has a default style for the <li> tag, namely:
li
{
padding: 3px 2px 5px 2px;
}
The tree makes heavy use of <li> tags but for some reason doesn't override the default styling, so I had to do it manually in the HTML of the control.ascx file that contained the tree:
<style type="text/css">
/* UNDO standard <li /> styling for the Telerik tree */
li
{
padding: 0px !important;
}
</style>
<telerik:RadTreeView ID="rtvSearchResults" runat="server" DataTextField="VariableName" style="white-space: normal;">
Telerik, any chance this could be fixed in a future release? (Or it in fact not possible to "fix" this, in which case could we have it highlighted in the documentation?)
Ed Graham