• Welcome to Test Foro de elhacker.net SMF 2.1.
 

No funciona el posicionamientpo :(

Started by Riki_89D, 16 November 2010, 13:24 PM

0 Members and 1 Guest are viewing this topic.

Riki_89D

tengo este sencillo codigo:
Code (html4strict) Select

<HTML>
<HEAD>
<STYLE TYPE="TEXT/CSS">
#Cuerpo {
background-color: Gray;
width: 900px;
height: 400px;
}
#BANNER{
background-color: red;
float:left;
width: 900px;
height: 100px;
margin-top: 10px;
}
#Menu {
float:left;
width:170px;
height:200px;
background-color:yellow;
margin-left:10px;
margin-top:10px;
}
</STYLE>
</HEAD>
<BODY>
<DIV ID="Cont">
<DIV ID="Cuerpo">
<DIV ID="BANNER"> Banner</DIV>
<DIV ID="Menu"><INPUT TYPE="TEXT" style="padding.left:0px;"></DIV>
</DIV>
</DIV>

</DIV>
</BODY
</HTML>


mirenlo en IE i despues en crhome,veran que el edit no se ve igual,hay bastante diferencia necesito que sea igual oMUY parecido,como lo logro?¡

elquenosabe

todos en algun momento de nuestro desarrollo olvidamos el doctype

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

colocalo al principio del documento y listo

Nakp

Quote from: elquenosabe on 17 November 2010, 07:14 AM
todos en algun momento de nuestro desarrollo olvidamos el doctype

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

colocalo al principio del documento y listo

esta usando html 4.01... en xhtml no deben usarse etiquetas en mayusculas
Ojo por ojo, y el mundo acabará ciego.

Riki_89D

vaya es verdad :S que bobo soy,de todas formas ya lo solucione alfinal graciias a CSS me salio todo :)

muchas gracias a todos de erdad soys unicos ;) y perdon pro las molestias