david 12 years atrás
parent
commit
97a156fc4f
2 changed files with 13 additions and 7 deletions
  1. 6 3
      css/productos.css
  2. 7 4
      vermas.php

+ 6 - 3
css/productos.css

@@ -118,9 +118,9 @@ margin-top: 50px;
 
 
 #descripcion_completa{
-	width: 70%;
+	width: 40%;
     position: fixed;
-    left: 40%;
+    left: 50%;
     margin: 0 0 0 -25%;
     z-index: 11;
     background: #FFF;
@@ -131,7 +131,7 @@ margin-top: 50px;
     border:1px solid #2B4C5F;
 	display: none;
     -webkit-text-stroke: 0.50px;
-	
+    top:20%;	
 }
 
 #descripcion_completa > texto{
@@ -145,3 +145,6 @@ margin-top: 50px;
 .pagina[num="1"] { display: none; }
 .pagina { height: 760px; }
 .center { display:block; margin: 0px auto; }
+.left {float:left; }
+.imagen-mas { width: 29%; }
+.descripcion-mas{width: 70%; }

+ 7 - 4
vermas.php

@@ -14,8 +14,11 @@ $statement->bind_result($nombre, $descripcion, $activos, $aplicacion,$imagen);
 if (!$statement->fetch()) { die('why'); }
 
 echo "<div id = 'texto'>
-	    <h5 style='color:#2B4C5F; text-align:right;'>$nombre</h5><br/><br/>
-        <img class='center' src='$imagen'></img>
+	    <h5 style='color:#2B4C5F; text-align:right;'>$nombre</h5><br/>
+        <div class='left imagen-mas'>
+            <img src='$imagen'></img>
+        </div>
+        <div class='left descripcion-mas'>
 		<h5 style='color:#2B4C5F;'>Descripción</h5><br/>
 		$descripcion<br/><br/>";
 		if($activos != ''){
@@ -25,8 +28,8 @@ echo "<div id = 'texto'>
 		if($aplicacion != ''){
 		echo"<h5 style='color:#2B4C5F;'>Aplicación</h5><br/>
 				$aplicacion<br/><br/>
-				"
-			;
+		</div>		";
+			
 		}
 echo"<br/><div id='exit'><u>salir</u></div><br/></div>";