Estaba validando una web que estoy haciendo en XHTML 1.0 Strict, tal como recomiendan el estandar de W3C, pero resulta que no habia manera de centra una tabla en medio de la pantalla. Los dos metodos que conocia <center> <table> … </table> </center> y <table align=”center”> … </table> no funcionan, ya que en el modo Strict estan prohibidos, asi que googleando un poco encontre este post de debin.net y la mejor solucion para que funcione en MSIE y demas es usar css poniendo: table { margin-left:auto; margin-right:auto; text-align: center; } y se alinea bien.
This entry was posted
on Tuesday, September 5th, 2006 at 23:05 and is filed under Main, Programacion.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.








2 comments so far
ole!
muchas gracias….!
February 26th, 2008 at 18:26
Your blog is interesting!
Keep up the good work!
[WORDPRESS HASHCASH] The poster sent us ‘0 which is not a hashcash value.
August 17th, 2008 at 10:41
Leave a Comment