PDA

View Full Version : diffrent html between IE and Firefox



emmaSG
24 Nov 2011, 1:56 AM
I have a problem on the html code generated.
With firefox I have :

<div id="ext-gen270" class="x-form-item " tabindex="-1"><label id="ext-gen271" class="x-form-item-label" style="width:100px;font-weight:bold;text-decoration:blink;text-transform:uppercase;color:#0048B5;" for="ext-comp-1068">Load data from another control sheet:</label>




With IE I have

<DIV id=ext-gen281 class="x-form-item " tabIndex=-1><LABEL style="TEXT-TRANSFORM: uppercase; WIDTH: 100px; COLOR: #0048b5; FONT-WEIGHT: bold; TEXT-DECORATION: blink" id=ext-gen282 class=x-form-item-label for=loadDataLabel>Load data from another control sheet:</LABEL>
<DIV style="PADDING-LEFT: 105px" id=x-form-el-loadDataLabel class=x-form-element><LABEL style="WIDTH: 200px" id=loadDataLabel></LABEL></DIV>
<DIV class=x-form-clear-left></DIV></DIV>



What I would like is the Firefox appearence.

My Extjs code :

{
xtype:'form'
,width:300
,items:[{
xtype:'label'
,id:'loadDataLabel'
,width:200
,fieldLabel : PDM.utils.translate('Load data from another control sheet')
,labelStyle: 'font-weight:bold;text-decoration:blink;text-transform:uppercase;color:#0048B5'
},{
items:[{//load data
layout: "column"
,id:'loadDataColumn'
,anchor: "0"
,items: [{
columnWidth: .8
,layout: "form"
,items: {
xtype: "textfield"
//,width:200
,id:'SAPCodeOtherCSField'
,emptyText:'enter SAP code of the other control sheet'
,hideLabel:true
,anchor: "0"
}
},{
columnWidth: .2
,items: {
xtype: 'button'
,id:'downloadCSData'
,icon:'img/icons/download_doc.gif'
,tooltip: 'Load data from another control sheet'
}
}]
}]//eof load data
}]

Is there a way to fix that???

thanks in advance for your help

mitchellsimoens
24 Nov 2011, 9:37 AM
You'd have to change the templates. What is looking wrong?