Adjust space between table in html
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 09:18 AM
Hello. I am construction business rule, to generate pdf. The BR search with GlideRecord and push in array. In a loop, will be put in the pdf the field, etc...
The code
while (table_etiquetas_funci.next()) {
obj_etiquetas_funci =
"<html><style>table {float: left; width: 50%; height: 150px;} td {border: 1px solid #0317fc; text-align: left; padding: 1px;}</style><table><tr><td>" +
"<p style='font-size:12px;'><b>" +
"DESTINO: " +
table_etiquetas_funci.getDisplayValue('plataforma_suporte.u_prefixo') + " " +
table_etiquetas_funci.getDisplayValue('plataforma_suporte.name') + " " +
table_etiquetas_funci.getDisplayValue('plataforma_suporte.u_location.state') + " " + //"<br>" +
"<center><i> <p style='font-size:15px;text-transform:uppercase';> " +
table_etiquetas_funci.getDisplayValue('funci_beneficiario.name') +
" </i></center></b></p>" +
"<p style='font-size:10px'>" +
"End: " +
table_etiquetas_funci.getDisplayValue('funci_beneficiario.department.u_location.street') + "<br>" +
"Cidade: " +
table_etiquetas_funci.getDisplayValue('funci_beneficiario.department.u_location.city') + " " +
"UF: " +
table_etiquetas_funci.getDisplayValue('funci_beneficiario.department.u_location.state') + " " +
"CEP: " +
table_etiquetas_funci.getDisplayValue('funci_beneficiario.department.u_location.zip') + " " + "<br>" +
"Quant: " +
table_etiquetas_funci.getDisplayValue('quantidade_por_funci') + " " +
"Produto: " +
table_etiquetas_funci.getDisplayValue('produto') + "<br>" +
"</p>" +
"<p style='color:Blue; font-size:10px'>" +
"REMETENTE: AAAAA BBBB tel:(11)1111-1111" +
"</p>" +
"</td> </tr></table></html>";
Now this is a print:
I need this:
The question is: how to increase space between the boreers of the table, same second picture?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2022 11:20 AM
Increase padding in css.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2022 06:31 AM
tks.. i include border-spacind.. and this works...
<html><style>table {float: left; width: 50%; height: 150px;border-spacing: 15px;}.....