Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/11/2010, 13:07
Avatar de cesmichael
cesmichael
 
Fecha de Ingreso: julio-2008
Mensajes: 207
Antigüedad: 15 años, 9 meses
Puntos: 0
Alinear verticalmente texto en una celda en IE8

Esto es algo trivial pero me está generando varios problemas ya que en el Firefox el texto aparece alineado verticalmente y en el IE8 no

Buenoaqui dejo el codigo

Código HTML:
Ver original
  1. <table width="242" cellpadding="0" cellspacing="0">
  2.  
  3.     <thead>
  4.         <tr class="block-title-left" valign="middle"><th><div><h3>$title</h3></div></th></tr>
  5.     </thead>
  6.     <tbody
  7.     <tr>
  8.         <td class="port"><div class="content">$content</div></td>
  9.    
  10.     </tr>
  11.     <tr>
  12.         <td align="center"><img src="themes/Resonancia/style/images/news_22-29.png"></td>
  13.     </tr>
  14.     </tbody>
  15.  
  16.  

Aquí el css

Código CSS:
Ver original
  1. .block-title-left {
  2.     font-size: 10px;
  3.     background-image: url(images/news_14.png);
  4.     background-repeat: no-repeat;
  5.     text-align: right;
  6.     height: 37px;
  7.     width: 242px;
  8. }
  9.  
  10. .block-title-left th  div{text-align: right;margin-right:5px}
  11. .block-title-left th  div h3{font-size:10px; vertical-align:middle}

De antemano gracias por la ayuda