Html <tr> remover linhas horizontais.
Moderador: Moderadores
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7928
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Html <tr> remover linhas horizontais.
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.
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.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
-
alxsts
- Colaborador

- Mensagens: 3092
- Registrado em: 12 Ago 2008 15:50
- Localização: São Paulo-SP-Brasil
Html <tr> remover linhas horizontais.
Olá!
Achei lá...:Itamar M. Lins Jr. escreveu:PS. procurando no google...
Código: Selecionar todos
<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>[]´s
Alexandre Santos (AlxSts)
Alexandre Santos (AlxSts)
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7928
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Html <tr> remover linhas horizontais.
Olá!
Esse border="0" remove também as linhas das colunas.
Saudações,
Itamar M. Lins Jr.
Esse border="0" remove também as linhas das colunas.
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7928
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Html <tr> remover linhas horizontais.
Olá!
<tr><td style="border:0;">... Livro de entradas em html/pdf.
Harbour + HTML + CSS -> Na criação de relatórios.
Saudações,
Itamar M. Lins Jr.
<tr><td style="border:0;">... Livro de entradas em html/pdf.
Harbour + HTML + CSS -> Na criação de relatórios.
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7928
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Html <tr> remover linhas horizontais.
Olá!
Detalhe que é tudo numa linha só!
O navegador que organiza TUDO!
Saudações,
Itamar M. Lins Jr.
Detalhe que é tudo numa linha só!
O navegador que organiza TUDO!
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7928
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Html <tr> remover linhas horizontais.
Olá!
Zebrado. Saudações,
Itamar M. Lins Jr.
Zebrado. Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
Html <tr> remover linhas horizontais.
Boa tarde Itamar.
Beleza seu relatorio. Agora não tem jeito, tenho que aprender HTML e CSS mesmo.
Agradecer á todos que escrevem sobre esse tema aqui no forum, mas o medo sempre presente, medo não, qual ferramenta usar de primeira e dar certo, não tenho tempo nem idade pra tentar várias ferramentas e ver o que eu vou gostar mais, e por aí vai.
Quando todos dizendo que tem que trocar o harbour, pegar essa ou aquela, linguagem, comprar isso e aquilo, vc sempre vinha dizendo que nenhuma linguagem funciona na internet. Internet so entende html.
a ultima dica sua no post anterior jogando tudo numa variavel já como html, clareou mais a idéia.
comecei a mexer à uns dias, e ja consigo criar qq relatório do meu sistema em html e carregar no navegador.
Agora indo aos poucos aprendendo cada vez mais.
Obrigado pelo incentivo Itamar. Saúde e paz pra vc.
Poka
Beleza seu relatorio. Agora não tem jeito, tenho que aprender HTML e CSS mesmo.
Agradecer á todos que escrevem sobre esse tema aqui no forum, mas o medo sempre presente, medo não, qual ferramenta usar de primeira e dar certo, não tenho tempo nem idade pra tentar várias ferramentas e ver o que eu vou gostar mais, e por aí vai.
Quando todos dizendo que tem que trocar o harbour, pegar essa ou aquela, linguagem, comprar isso e aquilo, vc sempre vinha dizendo que nenhuma linguagem funciona na internet. Internet so entende html.
a ultima dica sua no post anterior jogando tudo numa variavel já como html, clareou mais a idéia.
comecei a mexer à uns dias, e ja consigo criar qq relatório do meu sistema em html e carregar no navegador.
Agora indo aos poucos aprendendo cada vez mais.
Obrigado pelo incentivo Itamar. Saúde e paz pra vc.
Poka
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Html <tr> remover linhas horizontais.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7928
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Html <tr> remover linhas horizontais.
Olá!
Essa foi a pior parte, por conta desse "rowspan".
Saudações,
Itamar M. Lins Jr.
Código: Selecionar todos
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
Eu também, cada dia um pouquinho.Agora indo aos poucos aprendendo cada vez mais.
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Html <tr> remover linhas horizontais.
Não uso mais, na época o layout foi aprovado, apenas pediram pra colocar FOLHA ao invés de PÁGINA.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
- Itamar M. Lins Jr.
- Administrador

- Mensagens: 7928
- Registrado em: 30 Mai 2007 11:31
- Localização: Ilheus Bahia
- Curtiu: 1 vez
Html <tr> remover linhas horizontais.
Olá!
Resposta para minha pergunta.
Copiar e colar usando notepad, por exemplo "teste.html"
Abrir no navegador.
Saudações,
Itamar M. Lins Jr.
Resposta para minha pergunta.
Código: Selecionar todos
<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>
Abrir no navegador.
Saudações,
Itamar M. Lins Jr.
Saudações,
Itamar M. Lins Jr.
Itamar M. Lins Jr.
