Olá!
Tô procurando o comando para remover a linha horizontal da tag tr
Quem souber e puder informar ficarei grato.
PS. procurando no google...
Saudações,
Itamar M. Lins Jr.
Moderador: Moderadores
Itamar M. Lins Jr. escreveu:PS. procurando no google...
<div style="border: 1px solid black">
<table border="0">
<tr>
<td>one</td>
<td>two</td>
</tr>
<tr>
<td>one</td>
<td>two</td>
</tr>
</table>
</div>
METHOD CabecalhoLivroSaidasHtml(nPagina,nMes,cAno) CLASS LivroSaidasHtml
LOCAL cHtml
cHtml := '<!DOCTYPE html><html><head>'
cHtml += '<link rel="stylesheet" type="text/css" href="/print.css" media="print" />'
cHtml += '<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>'
cHtml += '<title>Livro de Saidas</title>'
cHtml += '<style>'
cHtml += '@media print {'
cHtml += '@page { margin: 0; }'
cHtml += 'body { margin: 0.5cm; }'
cHtml += '}'
cHtml += 'table,th,td{'
cHtml += ' FONT: 8pt "Lucida Console";'
cHtml += ' border: 1px solid #CCC;'
cHtml += ' border-collapse:collapse;'
cHtml += ' color:#000000;'
cHtml += ' table-layout: fixed; width: auto'
cHtml += '}'
//cHtml += 'td {border:none;}'
cHtml += 'p.quebra { page-break-before: always }'
cHtml += 'ft.a { font: 14px Arial; font-weight: bold ; } '
cHtml += 'ft.b { font: 11px sans-serif; }'
cHtml += 'ft.c { font: 12px Arial; }'
cHtml += 'ft.d { font: 13px Arial; }'
cHtml += '.zebra tbody tr:nth-child(2n+2) { background: #ccc; } '
cHtml += '</style>'
cHtml += '</head><body><div align="center">'
RETURN cHtml
METHOD TituloLivroSaidasHtml(nPagina,nMes,cAno) CLASS LivroSaidasHtml
LOCAL cHtml
cHtml := '<table cellpadding="1" cellspacing="1">'
cHtml += '<col width="020px"/>'
cHtml += '<col width="020px"/>'
cHtml += '<col width="080px"/>'
cHtml += '<col width="020px"/>'
cHtml += '<col width="020px"/>'
cHtml += '<col width="090px"/>'
cHtml += '<col width="030px"/>'
cHtml += '<col width="030px"/>'
cHtml += '<col width="080px"/>'
cHtml += '<col width="030px"/>'
cHtml += '<col width="080px"/>'
cHtml += '<col width="080px"/>'
cHtml += '<col width="080px"/>'
cHtml += '<col width="080px"/>'
/*
cHtml += '<col width="150px"/>'
cHtml += '<col width="250px"/>'
cHtml += '<col width="390px"/>'
*/
cHtml += '<tr>'
cHtml += '<th align="center" colspan="14" style="border:0;font-family:verdana;font-weight:bold">LIVRO REGISTRO DE SAIDAS(RS) - MODELO P2/A</th></tr>'
cHtml += '<tr><th colspan="14" style="border:0;" align="left" colspan="2"> Firma: ' + AllTrim(em->empresa) + '</th>'
cHtml += '<tr><th colspan="7" align="left" style="border:0;"> Insc.Est.: ' + AllTrim(em->I_E) + '</th>'
cHtml += '<th colspan="7" align="left" style="border:0;">CNPJ: ' + Transform(em->cgc,"@r 99.999.999/9999-99")+'</th></tr>'
cHtml += '<tr><th colspan="7" align="left" style="border:0;"> Folha: ' + StrZero(nPagina,4) + '</th>'
cHtml += '<th colspan="7" align="left" style="border:0;"> Mês ou Período/Ano: ' + mes(nMes)+'/'+cAno + '</th></tr>'
cHtml += '<tr><td align="center" colspan="5" style="font-family:verdana;font-weight:bold">Documentos Fiscais</td>'
cHtml += '<td align="center" rowspan="9" >Valor Contábil</td>'
cHtml += '<td colspan="2">Codificação</td>'
cHtml += '<td align="center" colspan="5" style="font-family:verdana;font-weight:bold">Valores Fiscais</td>'
cHtml += '<td rowspan="9">Observações</td></tr>'
//cHtml += '<tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>'
cHtml += '<tr>'
cHtml += '<td rowspan="7" align="center">ES- PE- CIE</td>'
cHtml += '<td rowspan="7" align="center">SE- RIE SUB SE- RIE</td>'
cHtml += '<td rowspan="7" align="center">Número</td>'
cHtml += '<td rowspan="7" align="center">Dia</td>'
cHtml += '<td rowspan="7" align="center">UF Dest</td>'
cHtml += '<td rowspan="7" align="center">Con- tábil</td>'
cHtml += '<td rowspan="7" align="center">CFOP</td>'
cHtml += '<td rowspan="2" colspan="3" align="center">Operações com débito do imposto</td>'
cHtml += '<td rowspan="2" colspan="2" align="center">Operações sem débito do imposto</td>'
cHtml += '</tr>'
cHtml += '<tr></tr>'
cHtml += '<tr>'
cHtml += '<td align="center" rowspan="2">Base de cálculo</td>'
cHtml += '<td rowspan="2" align="center">ALIQ</td>'
cHtml += '<td rowspan="2" align="center">Imposto Debitado</td>'
cHtml += '<td rowspan="2" align="center">Isentas ou não tributadas</td>'
cHtml += '<td rowspan="2" align="center">Outras</td></tr>'
cHtml += '<tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>' + hb_eol()
RETURN cHtml
Agora indo aos poucos aprendendo cada vez mais.
<html>
<head>
<title>Tabela</title>
<style type="text/css">
table { width: 300px; border-collapse: collapse; }
td {
border-color: #FFFFFF;
background-color: #CCCCCC;
border-style: solid;
border-bottom-width: 0;
border-top-width: 0;
border-right-width: 1px;
border-left-width: 1px;
}
</style>
</head>
<body>
<table>
<tr>
<td><u>NOME DA CIDADE</u></td>
<td><u>FUTEBOL</u></td>
<td align="center"><u>Qtde</u></td>
<tr/>
<tr>
<td>ILHÉUS</td>
<td>BAHIA</td>
<td align="center">1</td>
<tr/>
<tr><td colspan="3">...</td><tr/>
</table>
</body>
</html>
Usuários vendo este fórum: Nenhum usuário registrado online e 3 visitantes