This is a migrated thread and some comments may be shown as answers.

Plus minus background

1 Answer 41 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Uros
Top achievements
Rank 1
Uros asked on 27 May 2013, 04:15 PM
Hi,

I have a strange problem with positioning the background image in IE. It's working OK in Chrome.

I found one thread here and it helpde me, but now I have a new problem in IE.

Here's the CSS code:

.RadTreeView_CRM .rtPlus,
.RadTreeView_CRM .rtMinus {
 background-position:0 0 !important;
 height: 24px !important;
 width: 10px !important;
}

.RadTreeView .rtPlus  {background-image: url('common/show.png') !important; background-position:0 0 !important; height: 24px !important; width: 10px !important; }

.RadTreeView .rtPlus:hover { background-image: url('common/showHover.png') !important; background-position:0 0 !important; height: 24px !important; width: 10px !important; }

.RadTreeView .rtMinus {background-image: url('common/hide.png') !important; background-position:0 0 !important; background-position:0 0 !important; height: 24px !important; width: 10px !important;}

.RadTreeView .rtMinus:hover {background-image: url('common/hideHover.png') !important; background-position:0 0 !important; height: 24px !important; width: 10px !important;}

First the image size was 10px X 10px, but since I was unable to position it in the middle, I've changed the height to 24px. In IE still looks like the image is 10px X 10px (it's still positioned on top).

Any ideas?

Thx.

Uros

1 Answer, 1 is accepted

Sort by
0
Uros
Top achievements
Rank 1
answered on 27 May 2013, 08:00 PM
Strange things happen. Now it's working even in IE. :)
Tags
TreeView
Asked by
Uros
Top achievements
Rank 1
Answers by
Uros
Top achievements
Rank 1
Share this question
or