
Originally Posted by
willigogs
Please provide some example code of how you have achieved this, as this will help for anyone to offer help.
Using tables for layout is quite an old methodology, and I would always recommend using DIVs instead - but I guess this depends on your individual requirement. If you're using an EXT viewport, it really would be much simpler to use a border layout for your panels instead, rather than manually coding the HTML elements and using renderTo.
Hi willigogs,
I have used viewport only with border layout
Code:
xtype:'panel',
html:'<table width="90%" border="1" align="center" border="0">
<tr><td width="9%">'+
'<img src="../image_28.gif" width="100%" height="258" /></td>'+
'<td width="24%">In this space i need a formpanel</td><td width="66%">
<img src="../images_29.gif" width="100%" height="258" /></td></tr></table>',
items:[{
xtype:'panel',
items:[loginForm]
}]