![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
11/07/2010, 13:29
|
| | Fecha de Ingreso: marzo-2006
Mensajes: 43
Antigüedad: 18 años, 11 meses Puntos: 0 | |
Colocar los DIV´s Horizontales (Uno despues de otro) Hola amigos, ya estoy más morado que al tratar de colocar 2 cuadros DIV con contenido dentro, que queden 1 despues del otro, pero horizontal y no vertical.
Para colocar mis publicidades, me quedaron asi: ![](http://img155.imageshack.us/img155/3379/99309103.jpg)
Pero yo quisiera que quedara asi: ![](http://img130.imageshack.us/img130/4185/53931384.jpg)
Es decir, que quedaran los DIVS uno despues del otro, pero horizontal.
Mi estilo está así:
Código CSS:
Ver original.post_campo { background: #fff url(images/styles/CrystalClean/style/postfieldBG.gif) repeat-x bottom left; color: #546c7e; border: 1px solid #cfdde9; padding: 3px 3px 3px 10px; margin-top: 2px; height:250px; width:300px; text-align:left; } .post_campo strong { color: #854f99; } .post_campo dt { color: #854f99; font-weight:700; } .post_camp { background: #fff url(images/styles/CrystalClean/style/postfieldBG.gif) repeat-x bottom left; color: #546c7e; border: 1px solid #cfdde9; padding: 3px 3px 3px 10px; margin-top: 2px; height:250px; width:300px; text-align:left; } .post_camp strong { color: #854f99; } .post_camp dt { color: #854f99; font-weight:700; } .post_campo2 { background: #fff url(images/styles/CrystalClean/style/postfieldBG.gif) repeat-x bottom left; color: #546c7e; border: 1px solid #cfdde9; padding: 3px 3px 3px 10px; margin-top: 2px; height:50%; width:80%; text-align:center; } .post_campo2 strong { color: #854f99; } .post_campo dt2 { color: #854f99; font-weight:700; }
Y mi sintaxis, está asi:
Código HTML:
Ver original<div class="post_campo2"> <center><div class="post_campo"><script type="text/javascript"><!-- google_ad_client = "pub-8597137703225965"; /* 300x250, creado 11/07/10 */ google_ad_slot = "8672443388"; google_ad_width = 300; google_ad_height = 250; //--> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> <div class="post_camp"><!-- BEGIN SMOWTION TAG - 300x250 - latinort: juegos - DO NOT MODIFY --> <script type="text/javascript"><!-- smowtion_size = "300x250"; smowtion_section = "763528"; //--> <script type="text/javascript" src="http://ads.smowtion.com/ad.js"> <!-- END SMOWTION TAG - 300x250 - latinort: juegos - DO NOT MODIFY --></div></center>
Bueno, tengo 2 DIV diferentes, pero con el mismo estilo y aún, también probe los 2 contenidos con el mismo DIV CLASS campo y aún, me seguia estando verticalmente. ¿Se podría utilizar el CoolSpan y RowSpan?
A ver si podrían ayudarme a colocarlo vertical. Muchas gracias, espero sus respuestas :(
__________________ :si: ANTARES:si: |