PHP vs HTML(css)
Bom eu desenvolvi uma pagina html simples para utilizar como exemplo pra uma pagina php, e utilizei css no formato da pagina;
a pagina é esta
<html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="Bluefish 1.0.7">
<link type="text/css" rel="stylesheet" href="dhtmlgoodies_calendar/dhtmlgoodies_calendar/dhtmlgoodies_calendar.css?random=20051112" media="screen"></LINK>
<script type="text/javascript" src="dhtmlgoodies_calendar/dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118"></script>
<title>Incluir Cliente</title>
</head>
<body>
<style type="text/css">
body{background-color:#AAFFAA;
}
#h1{font-size:14px;
font-weight:bold;
text-align:center;
}
#h2{font-size:12px;
font-weight:bold;
}
#topo{ font-size:12px;
border-width:2px;
border-style:;
width:1024px;
heigth:auto;
}
#equip{font-size:12px;
margin:0 auto;
height:auto;
width:1020;
border-width:2px;
border-style:solid;
}
#total1{font-size:12px;
height:auto;
width:512;
border-width:2px;
border-style:solid;
float:left;
;
}
#total2{font-size:12px;
align:right;
height:=auto;
width:504;
border-style:solid;
border-width:2px;
position:left;
float:right;
}
</style>
<div id="topo" >
<h1 align="center"> Informações </h1>
<div align="left" id="equip" >
<h2 align="center">Total Equipamentos</h2>
<form method="POST" action="buscaos.php" >
<li> Elevadores <input type="text" name="elevador"></li>
<li> PL <input type="text" name="el"></li>
<li> Monta Cargas <input type="text" name="montacarga"></li>
<form >
</div>
<div align="center" id="total1">
<h2>Total OS</h2>
<table border="1" cellspading="10" cellspacing="10" width="100%">
<tr><th> Mes</th><th> total</th> <td>
</table>
</div>
<div align="center" id="total2">
<form method="POST" action="estatisticas.php">
<h2>Total Chamados</h2>
<table border="1" cellspading="10" cellspacing="10" width="100%">
<tr><th> Mes</th><th> total</th> <td>
</table>
</form>
</div>
</div>
</body>
</html>
Agora desenvolvi uma pagina em php que deveria ser bem parecida com esta utilizei do mesmo css da pagina html na pagina php, e o resultado saiu uma coisa orrivel. 1 div em cima do outro, tudo desalinhado, a unicas coisas que deram certo foram os "<h1><h2>"
alguem poderia me dar uma ajuda com isso ? =/ sou iniciante em html, css e php
por favor desconsiderem os actions dos forms, como eu disse essa pagina serviu apenas de exemplo para o formato da minha pagina php
Discussão (5)
Carregando comentários...