boas
agradecia ajuda em colocar tres divs dentro de uma, formando tipo uma tabela com 1 linha e 3 colunas
tenho este codigo Código (HTML):
cumps
acao
agradecia ajuda em colocar tres divs dentro de uma, formando tipo uma tabela com 1 linha e 3 colunas
tenho este codigo Código (HTML):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>trescplunas</title>
<style type="text/css">
.div1{
padding:10px;
background-color:#FF0;}
.coluna1{
width:30px;
height:150px;
float:left;
background-color:#F00;}
.coluna2{
width:50px;
height:150px;
float:left;
background-color:#0F0;}
.coluna3{
width:70px;
height:150px;
float:left;
background-color:#00F;}
</style>
</head>
<body>
<div class="div1">
<div class="coluna1">
</div>
<div class="coluna2">
</div>
<div class="coluna3">
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>trescplunas</title>
<style type="text/css">
.div1{
padding:10px;
background-color:#FF0;}
.coluna1{
width:30px;
height:150px;
float:left;
background-color:#F00;}
.coluna2{
width:50px;
height:150px;
float:left;
background-color:#0F0;}
.coluna3{
width:70px;
height:150px;
float:left;
background-color:#00F;}
</style>
</head>
<body>
<div class="div1">
<div class="coluna1">
</div>
<div class="coluna2">
</div>
<div class="coluna3">
</div>
</div>
</body>
</html>
cumps
acao