Category Icon not lining up with Category name in Admin

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Category Icon not lining up with Category name in Admin

Post by Mike718NY » Sat Jan 23, 2010 11:30 am

In IE 8, the icon no longer line-up with the Category names
in the Category Admin(see pic).
How can this be fixed?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Mon Jan 25, 2010 8:00 am

Try adding vertical-align = top; to treeNode style in stylesheet

Code: Select all

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

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

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

Post by Mike718NY » Mon Jan 25, 2010 11:08 am

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\" />";

Post Reply