Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/10/2011, 07:52
Avatar de 00israel
00israel
 
Fecha de Ingreso: enero-2002
Ubicación: madrid
Mensajes: 636
Antigüedad: 22 años, 3 meses
Puntos: 5
Respuesta: se puede flotar un div por la derecha cruzando varias lineas?

pues mira estoy haciendo pruebas con 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>Documento sin título</title>
<style type="text/css">
* {
}
html, body {
	height: 100%;
	margin: 0px;
	background-color: #ede5db;
}
	
#contenedor {
	height: 100%;
	width: 1061px;
}
#contenedor #div0 {
	width: 600px;
	height: 200px;
	float: left;
	background-color: #0FF;
}
#contenedor #div {
	width: 300px;
	height: 100%;
	float: left;
	background-color:#963
}
#contenedor #div2 {
	width: 300px;
	height: 100%;
	float: left;
	background-color: #888;
}
#contenedor #div3 {
	display: block;
	width: 361px;
	height: 100%;
	float: left;
	clear: right;
	background-color: #F00;
}
#contenedor #div2 #texto {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	margin-top: 50px;
}
</style>
</head>

<body>
<div id="contenedor">
<div id="div0"></div>
<div id="div3">sdfsdfsdf</div>
<div id="div">sdfsdfsdf</div>
<div id="div2">
	<div id="texto"> esto es una prueba</div>
</div>
</div>
</body>
</html>