I'm developing a custom email template in the visualforce component, but outlook opens this email all unconfigured, the impression I get is that it ignores the css. I did google searches, I'm using inline css, added the !important after the css, changed the width to px and % but to no avail. I would like the top margin not to be as far from the header as you can see in the images. Does anyone know how I can solve this or is it impossible? In Gmail and in other emails it recognizes the css normally, even in Outlook web itself it recognizes it, the problem is the windows outlook application
<h3 style="border: 1px solid #e85e0b; text-align: center; background: #e85e0b; margin-bottom: 0px; width: 100%">
Coberturas</h3>
<table style="width: 90%!important; margin-top:5px!important; margin-left:auto!important; margin-right:auto!important; position: absolute!important" align="center" >
<thead style="border: 1px solid #939393; text-align: center; background: #F5F5F5; width: 90%!important" align="center">
<apex:outputPanel layout="none" rendered="{!if(bemSize>1 , true ,false)}">
<tr>
<th style=" margin-left: auto; margin-right: auto">Bem Segurado</th>
<th style=" margin-left: auto; margin-right: auto">Opções de Cobertura</th>
<th style=" margin-left: auto; margin-right: auto">Importância Segurada</th>
<th style=" margin-left: auto; margin-right: auto">Franquia</th>
<th style=" margin-left: auto; margin-right: auto">Observações</th>
</tr>
</apex:outputPanel>
<apex:outputPanel layout="none" rendered="{!if(bemSize==1 , true ,false)}">
<tr>
<th style=" margin-left: auto; margin-right: auto">Opções de Cobertura</th>
<th style=" margin-left: auto; margin-right: auto">Importância Segurada</th>
<th style=" margin-left: auto; margin-right: auto">Franquia</th>
<th style=" margin-left: auto; margin-right: auto">Observações</th>
</tr>
</apex:outputPanel>
</thead>
<tbody style="border: 1px solid #939393;background: #F5F5F5; width: 90%!important" align="center">
<apex:outputPanel layout="none" rendered="{!if(varLMI==false && bemSize>1 , true ,false)}">
<apex:repeat value="{!Cobertura}" var="cob">
<tr>
<td style="text-align: left">{!cob.BemSegurado__r.Identificacao__c}</td>
<td style="text-align: left">{!cob.Opcoes_de_Coberturas__r.Name}</td>
<td style="text-align: right">R$ {!cob.ImportanciaSeguradaFormatada__c}</td>
<td style="text-align: right">{!cob.Franquia_Cob__c}</td>
<td style="text-align: right">{!cob.Observacao__c}</td>
</tr>
</apex:repeat>
</apex:outputPanel>
<apex:outputPanel layout="none" rendered="{!if(varLMI==true && bemSize>1, true ,false)}">
<apex:repeat value="{!CoberturaLMI}" var="cob">
<tr>
<td style="text-align: left">LMI Único</td>
<td style="text-align: left">{!cob.Opcoes_de_Coberturas__r.Name}</td>
<td style="text-align: right">R$ {!cob.ImportanciaSeguradaFormatada__c}</td>
<td style="text-align: right">{!cob.Franquia_Cob__c}</td>
<td style="text-align: right">{!cob.Observacao__c}</td>
</tr>
</apex:repeat>
</apex:outputPanel>
<apex:outputPanel layout="none" rendered="{!if(varLMI==false && bemSize<=1 , true ,false)}">
<apex:repeat value="{!Cobertura}" var="cob">
<tr>
<td style="text-align: left">{!cob.Opcoes_de_Coberturas__r.Name}</td>
<td style="text-align: right">R$ {!cob.ImportanciaSeguradaFormatada__c}</td>
<td style="text-align: right">{!cob.Franquia_Cob__c}</td>
<td style="text-align: right">{!cob.Observacao__c}</td>
</tr>
</apex:repeat>
</apex:outputPanel>
<apex:outputPanel layout="none" rendered="{!if(varLMI==true && bemSize<=1, true ,false)}">
<apex:repeat value="{!CoberturaLMI}" var="cob">
<tr>
<td style="text-align: left">{!cob.Opcoes_de_Coberturas__r.Name}</td>
<td style="text-align: right">R$ {!cob.ImportanciaSeguradaFormatada__c}</td>
<td style="text-align: right">{!cob.Franquia_Cob__c}</td>
<td style="text-align: right">{!cob.Observacao__c}</td>
</tr>
</apex:repeat>
</apex:outputPanel>
</tbody>
</table>