I am using the Ext.Img component. Everything is fine untill i am trying to align using the X and Y coordinates in the panel. It is aligning correctly in chrome and FF3.6. But not in IE8.
I don't know why, anyone faced similar kind of problems.
Please use CODE tags when posting code (# button on the editor toolbar).
OK, think I can explain this.
In your initial example the top and left CSS properties are set correctly but the img element still has position set to static, so they won't do anything. You'd need to set it to absolute or relative positioning. The easiest way to that is through the cls config option.
As for your second example, with the panel, the problem is your choice of layout. Box layout isn't intended to be used directly like that. If you just get rid of the layout, or pick a suitable layout, it'll work fine.