![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/05/2012, 09:27
|
![Avatar de djaevi](http://static.forosdelweb.com/customavatars/avatar172061_1.gif) | | | Fecha de Ingreso: marzo-2007 Ubicación: Moreno, Buenos Aires
Mensajes: 400
Antigüedad: 17 años, 11 meses Puntos: 47 | |
Respuesta: Centrar texto verticalmente con alto fijo maximo Prueba :
Código HTML:
Ver original #contenedor { height:80px; background-color:#993333; width:300px; position:absolute; } #mensaje { position:relative; height: 20px; top:50%; margin-top:-10px; background-color:#006699; left:20px; width:280px; }
Saludos |