Ir para conteúdo

jacquesvaladares

Members
  • Total de itens

    1
  • Registro em

  • Última visita

Tudo que jacquesvaladares postou

  1. Como inserir uma imagem como background em uma célula de tabela. Fiz um exemplo simples q apresento abaixo. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>Teste de imagem na celula da tabela</title> <!--&#8211; I N I C I O C S S &#8211;--> <style type="" text/css=""> .imagem{ background: url(liz.png) no repeat; } </style><!--&#8211; F I M C S S &#8211;--> </head> <body> <table style="width: 100%; height: 450px; text-align: left; margin-left: auto; margin-right: auto;" border="2" cellpadding="2" cellspacing="2"> <tbody> <tr> <td style="height: 50%; width: 50%;"><class ="imagem"></class></td> <td style="height: 50%; width: 50%; background-color: rgb(255, 255, 204);"></td> </tr> <tr> <td style="height: 50%; width: 50%; background-color: rgb(51, 102, 255);"></td> <td style="height: 50%; width: 50%; background-color: rgb(51, 255, 51);"></td> </tr> </tbody> </table> <br> </body> </html>
×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.