PDA

View Full Version : Problem in width and height 100% for header image



sseema
10 Dec 2009, 1:20 AM
Hi,

I developed one page it has center , south and west panels with header image.
For occupying the image completely in header so I used width and height 100%.
Now it is working fine in firefox.

But problem is not working in IE.

Is there any solution for my issue.

My code.



<table><tr><td align="left" width="100%"><div class="x-small-editor" style="z-index=101;height:100%; position:absolute;top:0;left:0;right:0;visibility:visible; overflow:visible;"><img width="100%" height="100%" src="image.jpg" align="middle"></img></div></td>

</tr></table>


I appreciate any help.

Thank You.

10 Dec 2009, 6:33 AM
Why are you writing HTML manually? You could make your life easier by using Ext.BoxComponent. THere are lots of examples in the forum (use the google search) and the API is a good read as well.