Page 1 of 1

Category Icon not lining up with Category name in Admin

Posted: Sat Jan 23, 2010 11:30 am
by Mike718NY
In IE 8, the icon no longer line-up with the Category names
in the Category Admin(see pic).
How can this be fixed?

Re: Category Icon not lining up with Category name in Admin

Posted: Mon Jan 25, 2010 8:00 am
by mazhar
Try adding vertical-align = top; to treeNode style in stylesheet

Code: Select all

.treeNode {
color:#000000;
padding:3px 0;
vertical-align:top;
}

Re: Category Icon not lining up with Category name in Admin

Posted: Mon Jan 25, 2010 11:08 am
by Mike718NY
thanks . . I did this too and it worked:

Code: Select all


//   REPLACE "absmiddle" with "top" :

if (string.IsNullOrEmpty(theme)) theme = "AbleCommerceAdmin"; 
            string minusIcon = "<img src=\"" + this.Page.ResolveClientUrl("~/App_Themes/" + theme + "/Images/minus.gif") + "\" border=\"0\" align=\"top\" />";
            string plusIcon = "<img src=\"" + this.Page.ResolveClientUrl("~/App_Themes/" + theme + "/Images/plus.gif") + "\" border=\"0\" align=\"top\" />";