PARA LOS QUE QUIEREN CENTRAR UNA WEB.. Y QUIERE QUE PASE ESTO......

Y QUE NO PASE ESTO......

es muy sencillo y hay varias opciones para hacerlo...PERO TENEMOS QUE TENER EN CUENTA ALGO.
1) SI TIENE ALGÚN OBJETO ETIQUETADO CON LA POSICIÓN ABSOLUTE...NO TE VA AH FUNCIONAR ....YA QUE TOMA COMO POSICIÓN LA QUE TU LE DISTES. ASI QUE TIENES QUE EDITAR EL CODIGO PARA QUE SE ADAPTE ....
RECOMENDACIONES: SI QUIERE ALGUN OBJETO CON POSICION ABSOLUTE PROCURA QUE NO SE EREDE DE LA ETIQUETA <body>. SI NO QUE SE EREDE DE OTRA ETIQUETA DENTRO DEL <body>..
EJEMPLO:
<body>
<div id ="remplaz">
<div id="conten"> AQUI VA SU CONTENIDO</div>
</div>
</body>
ASI AL ACER UN ABSOLUTE AL <div id="conten"> LO QUE VA ASER ES EREDARSE DEL <div id ="remplaz"> LO QUE ASE ES QUE NO SE SALE DEL BODY SI NO DEL <div id ="remplaz">....BUENO USTDES YA TIENEN QUE HACER QUE NO SE SALGA DEL BODY......PERO SE LOS RECOMIENDO ES MEJOR DE ESA FORMA
es solo lo que hay que tener en cuenta.......
bueno las opciones para que puedan centrar sus webs
Primera:
<body leftmargin="x" rightmargin="x" topmargin="x" bottomargin="x"></body>
como ven estamos jugando con los margenes se puede centrar lo que sea.
Segunda:
<center></center>
puedes centrar el contenido que escojas....
Tercera:
<div align="center"></div>
este es el modo para centrar un div
Cuarta:
<table align="center"></table>
este sirve para centrar tablas tambien
entra y miralo en la web oficial(es la mia) http://fackel2101.blogspot.com/2012/01/centrar-una-web-al-acer-zoom.html
comentar no cuesta nada

Y QUE NO PASE ESTO......

es muy sencillo y hay varias opciones para hacerlo...PERO TENEMOS QUE TENER EN CUENTA ALGO.
1) SI TIENE ALGÚN OBJETO ETIQUETADO CON LA POSICIÓN ABSOLUTE...NO TE VA AH FUNCIONAR ....YA QUE TOMA COMO POSICIÓN LA QUE TU LE DISTES. ASI QUE TIENES QUE EDITAR EL CODIGO PARA QUE SE ADAPTE ....
RECOMENDACIONES: SI QUIERE ALGUN OBJETO CON POSICION ABSOLUTE PROCURA QUE NO SE EREDE DE LA ETIQUETA <body>. SI NO QUE SE EREDE DE OTRA ETIQUETA DENTRO DEL <body>..
EJEMPLO:
<body>
<div id ="remplaz">
<div id="conten"> AQUI VA SU CONTENIDO</div>
</div>
</body>
ASI AL ACER UN ABSOLUTE AL <div id="conten"> LO QUE VA ASER ES EREDARSE DEL <div id ="remplaz"> LO QUE ASE ES QUE NO SE SALE DEL BODY SI NO DEL <div id ="remplaz">....BUENO USTDES YA TIENEN QUE HACER QUE NO SE SALGA DEL BODY......PERO SE LOS RECOMIENDO ES MEJOR DE ESA FORMA
es solo lo que hay que tener en cuenta.......
bueno las opciones para que puedan centrar sus webs
CENTRAR CON ETIQUETAS HTML
Primera:
<body leftmargin="x" rightmargin="x" topmargin="x" bottomargin="x"></body>
como ven estamos jugando con los margenes se puede centrar lo que sea.
Segunda:
<center></center>
puedes centrar el contenido que escojas....
Tercera:
<div align="center"></div>
este es el modo para centrar un div
Cuarta:
<table align="center"></table>
este sirve para centrar tablas tambien
AORA VIENE PARA CENTRAR CONTENIDO CON CSS
Primera:
<style type="text/css">body {margin: 100px 100px 100px 100px ;}</style>
como ven jugamos de nuevo con los margenes pero esta vez con css..
Segunda:
<style type="text/css">div {align:center;}</style>
listo ya terminamos. espero que los aiga ayudado y ya pueden escoger la que mas les convenga....
entra y miralo en la web oficial(es la mia) http://fackel2101.blogspot.com/2012/01/centrar-una-web-al-acer-zoom.html
comentar no cuesta nada