Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/08/2012, 12:21
Avatar de vertigo55
vertigo55
 
Fecha de Ingreso: enero-2008
Mensajes: 29
Antigüedad: 16 años, 10 meses
Puntos: 1
Respuesta: Alinear texto de un div con borde de otro Div

<!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">
#bartop {
position:fixed;
left:0px;
top:0px;
width:100%;
height:40px;
z-index:5;
background-image: url(images/fondobarredes.png);
-moz-box-shadow:0px 0px 5px #000;
-ms-box-shadow:0px 0px 5px #000;
-webkit-box-shadow:0px 0px 5px #000;
box-shadow: 0px 0px 5px #000;
behavior: url(PIE/pie.htc);
}
body {
background-image: url(images/top-degra.jpg);
background-repeat: repeat-x;
}
#contback {
position:absolute;
left:0px;
top:40px;
width:973px;
height:422px;
z-index:2;
background-image: url(images/top-mot-degra.png);
background-repeat: no-repeat;
behavior: url(PIE/pie.htc);
}
#contlog {
height: 62px;
width: 900px;
margin-right: auto;
margin-left: auto;
margin-top: 45px;
position: relative;
}
#contenedor {
height: 4360px;
width: 900px;
margin-top: 5px;
margin-right: auto;
margin-bottom: auto;
margin-left: auto;
-moz-border-radius: 8px;
-ms-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
border: solid 1px #acadad;
behavior: url(PIE/pie.htc);
position: relative;
}
#botones {
position:relative;
left:10px;
top:10px;
width:177px;
height:164px;
z-index:3;
}
#titu1 {
position:absolute;
left:219px;
top:10px;
width:650px;
height:17px;
z-index:3;
background-color: #b4b3b3;
}
.titbold { font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
}
#panlatvar {
position:relative;
left:10px;
top:10px;
width:177px;
height:350px;
z-index:4;
}
.parrafo1 { font-family: Arial, Helvetica, sans-serif;
}
.parrafo1 { font-size: 14px;
}
#parrafo2 { position:absolute;
left:219px;
top:246px;
width:650px;
height:136px;
z-index:3;
text-align: justify;
font-size: 14px;
}
#pie {
height: 20px;
width: 900px;
margin-top: 10px;
margin-right: auto;
margin-left: auto;
font-family: "Century Gothic", Arial, "Trebuchet MS";
font-size: 12px;
color: #333;
text-align: center;
}
#preguntas {
position:absolute;
left:219px;
top:39px;
width:651px;
height:auto;
z-index:3;
font-family: "Century Gothic", Arial, "Trebuchet MS";
font-size: 14px;
}
</style>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>