-
5 Jul 2012 5:23 AM #1
Unanswered: Using iconCls on tool-bars does not work in IE?
Unanswered: Using iconCls on tool-bars does not work in IE?
Hi,
I am getting something weird.
In Firefox the window will look like.
FF.png
But using Internet Explorer 9 I get.
IE.png
My CSS for example
Does it have something to do with size and type?Code:.ds-pdf-icon { background: url(/datashed_media/icons/Adobe-PDF-Document.ico) !important; background-repeat: no-repeat; } .ds-logout-icon { background: url(/datashed_media/icons/logout.ico) no-repeat; }
Please advice.
-
5 Jul 2012 7:20 AM #2
Hi,
I've had similar problems and my issue was the IE was rendering in quirks mode instead of standards mode, this may or may not help your situation.
-
5 Jul 2012 9:33 AM #3Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,190
- Vote Rating
- 195
- Answers
- 436
Can you provide more detail on your setup?
-IE document mode
-Exact version of ExtJS4
-Special / custom CSS uses.
Scott.
-
5 Jul 2012 9:34 AM #4
Yes, image resolution can affect the icons. I usually make sure that every icon image 16 x 16 pixels.
-
5 Jul 2012 11:07 PM #5
I am using.
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-Extjs 4.1
-CSS I only use for the icon's at the moment.
This seems to solve the problem. Although I was hoping some CSS setting would correct this.


Reply With Quote