Follow an example of columns with css only.
body {
margin:0;
padding:0;
color:#000;
background:#fff;
}
#geral {
width:960px;
margin:0 auto;
background:#ddd;
}
#cabecalho {
background:#fdd;
}
# conteudo-1 {
background:#bfb;
}
#conteudo-2-1 {
background:#ddf;
}
#conteudo-2-2 {
background:#dff;
}
#rodape {
background:#ff9;
}
#conteudo-1 {
float:left;
width:240px;
background:#bfb;
}
#conteudo-2 {
float:right;
width:720px;
}
#conteudo-2-1 {
float:left;
width:480px;
background:#ddf;
}
#conteudo-2-2 {
float:right;
width:240px;
background:#dff;
}
#rodape {
clear:both;/*posicionando o rodape abaixo das outras divs*/
background:#ff9;
}
<!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>Layout 3 colunas</title>
<link type="text/css" rel="stylesheet" media="screen" href="estilos.css" />
</head>
<body>
<div id="geral">
<div id="cabecalho">Cabeçalho</div>
<div id="principal">
<div id="conteudo-1">Pessoa</div>
<div id="conteudo-2">
<div id="conteudo-2-1">Cidade</div>
<div id="conteudo-2-2">Telefone</div>
</div>
</div>
<div id="rodape">Rodapé</div>
</div>
</body>
</html>
You can read more on:
https://www.devmedia.com.br/como-criar-um-layout-de-duas-colunas-com-html-e-css/37239
https://www.kadunew.com/blog/css/como-criar-um-layout-de-3-colunas-com-css
https://www.maujor.com/layout3col.shtml
what is your doubt? because it is difficult to exchange the table for div?
– novic
You can use div, and resolve with css.
– Rebeca Nonato