Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/10/2011, 12:28
sjkurro
 
Fecha de Ingreso: marzo-2011
Mensajes: 80
Antigüedad: 13 años, 7 meses
Puntos: 1
descuadre en Explorer

Hola, con el siguiente codigo llevo una pelea que no puedo....en Explorer me descaudra el diseño.......podeis echarme una mano???gracias
Código HTML:
 <body>

<div id="main" class="central" style="width:745px">
 <link rel="shortcut icon" href="<?php echo $vars['url']; ?>favicon.ico"/>
<?php
	if ($vars['full'] == true) {
		$iconsize = "large";
	} else {
		$iconsize = "medium";
	}
?>
<div id="group_stats" style="display: inline; float: left; width: 75% "><!-- start of group_stats -->
            <?php
                                    echo "<div style ='width:100% ;'><b> </b><h2>";
                                        if ($vars['entity']->artista_propuesto != ""){
                                         echo $vars['entity']->artista_propuesto;
                                        }else{
                                           $artista=artistasDAO::getNombreById($vars['entity']->artista);
                                           if($artista!=null){
                                            echo $artista[0]->nombre;
                                           }
                                       }
                                       echo " </h2></div>";
            ?>

    
</div>
    <div style="float:left; width: 180px;"><input type="image" value="akldsjfaslkfls" onclick="document.location='<?php echo $vars['url']; ?>action/groups/join?group_guid=<?php echo $vars['entity']->getGUID();?>'" src="<?php echo $vars['url']; ?>_graphics/boton1.jpg" style=" width: 180px; height: 35px;-webkit-border-radius: 8px;-moz-border-radius: 8px;background: white;border-bottom:1px solid #cccccc;border-right:1px solid #cccccc;" /></div>
    <div id="clearfoat" style="height: 10px;  "></div>
    <div id="groups_icon_wrapper"><!-- start of groups_icon_wrapper -->
        <?php
		    echo elgg_view(
					"groups/icon", array(
                                        'entity' => $vars['entity'],
                                        //'align' => "center",
                                        'size' => $iconsize,
                                  )
					);
        ?>

    </div><!-- end of groups_icon_wrapper -->
    <div id="clearfoat" style="float: left;height: 206px;width: 1px; "></div>
<div id="groups_info_column_right" ><!-- start of groups_info_column_right -->
<div style="position: relative; margin-top: 35px; ">
<?php
                 echo "<div><h1><b>Propuesto en </b>";
                 echo $vars['localidad'];
                 echo " </h1></div>";
                 ?>
</div> 
    
<div style=" ">
     <?php
               echo "<div ><h1 style ='line-height: 74%; max-height: 6px;'>Provincia de  ";
                 echo $vars['provincia'];
               echo " </h1></div>";
    ?>
</div>
<div style="position: relative; margin-top: -1%">
            <?php echo "<h3><p style='margin-top: 2.5%;margin-bottom: 0%;font-size: 78%;'><label style=''>" . elgg_echo("groups:owner") . ": </label><a style='color:#0054A7;font-size: 141%;'    href =\"" . get_user($vars['entity']->owner_guid)->getURL() . "\">" . get_user($vars['entity']->owner_guid)->name . " </a></p>";  ?>
              <?php echo  "<h3><p style='margin-top: 0.5%;margin-bottom: 0%; color: #626262;font-size: 1.05em;'> Propuesto el " ; 
              $cadena = $vars['entity']->fec_alta;
              echo substr($cadena, 0, 10); ?>
             <?php echo  "<h3><p style='margin-top: 0%;margin-bottom: 0%;font-size: 78%;'><label style=''>" . elgg_echo('groups:members') . ": " . get_entities_from_relationship('member', $vars['entity']->guid, true, 'user', '', 0, '', 9999, 0, true ) ."</h3>";  ?>
    </div>  

    

<div style="margin-top: 0px">   
<?php
echo "<p class ='odd'><b><h3>Estilo: </b>";

                               $id_estilo=$vars['entity']->estilo;
                               if($id_estilo!=null){
                                   $estilo=estiloSubestiloDAO::getDescripcionEstiloById($id_estilo);
                                   if($estilo!=null){
                                       echo $estilo[0]->descripcion;
                                    }
                               }
             echo "</h3></p>";                                
	    ?>
    </div>
 </div>  
<div id="groups_info_column_left" style="margin-top: 0%; line-height: 20px"><!-- start of groups_info_column_left -->
    <?php 
        if ($vars['full'] == true) {
	        if (is_array($vars['config']->group) && sizeof($vars['config']->group) > 0){

		        foreach($vars['config']->group as $shortname => $valtype) {
			        if ($shortname != "name") {

                                    if($shortname == "interests"){
       }
                                    $value = $vars['entity']->$shortname;

					    if (!empty($value)) {
					        //This function controls the alternating class
                		    $even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even';
					    }

					    echo "<p class=\"{$even_odd}\">";
						echo "<b style='color: #777777;font-size: 1.0em; font-weight: bold; '>";
						echo elgg_echo("groups:{$shortname}")."</b>";
						echo ": <b style='font-size: 1.0em; font-weight: bold; '>";
						echo elgg_view("output/{$valtype}",array('value' => $vars['entity']->$shortname))."</b>";
						echo "</p>";
                                    }
				}
		    }
		}
	?>
  </div>        
          <div style=" margin-top: 10px" ><h2 style =" font-size: 16px;float: left"/>Estado del Concierto: <h3 style=''>Sugerido
           </div>
            <div style=" margin-top: 3%;"> <div style="float: left;"><h2 style="font-size: 15px;"><?php echo elgg_echo('compartir4'); ?></h2>
                </div>
                <div style=" float:left; margin-top: 5px; margin-left: 7px;width: 265px" class="addthis_toolbox addthis_default_style">
                <a class="addthis_button_preferred_1"></a>
             
                <a class="addthis_button_compact"></a>
                <!--<a class="addthis_counter addthis_bubble_style"></a>-->
                <a style=" margin-bottom: 1%"class="addthis_button_google_plusone" g:plusone:size="small"></a>
                </div>
                <script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
                <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4dc90f9f49c4f01a"></script>
                <!-- AddThis Button END -->
                </div>

 
<div style=" font-size: 12px; display: inline-table;width: 100%;float: left; border-bottom: 1px solid #5A5A5A; margin-top: 2%">
    <div style="text-align: left"> <h2><?php echo elgg_echo('Videosde');?>
    <?php           
                                        if ($vars['entity']->artista_propuesto != ""){
                                         echo $vars['entity']->artista_propuesto;
                                        }else{
                                           $artista=artistasDAO::getNombreById($vars['entity']->artista);
                                           if($artista!=null){
                                            echo $artista[0]->nombre;
                                           }
                                       }
            ?>
            </h2></div>
</div>
<table style="border-bottom: 1px solid #5A5A5A">
    <tr>
	<?php
		$contador2 =0;
		foreach ($vars['videos'] as $videoEntry) { ?>
    <td style="padding: 5px"><div id="videoDiv<?php echo $contador2;?>">Cargando...</div></td>
		<?php  $contador2 = $contador2 + 1;
		} ?>
    </tr>
</table>
      <div style="display: block;margin-bottom: 40px; margin-top: 20px"><h2 style=" font-size: 118%; margin-bottom: 1.5%"><?php echo elgg_echo('conciertossimiliares');?></h2></div>
      <div id="" name="resultados" style="vertical-align: middle; margin-top: -3%; margin-bottom: 3%;">
  
     <table id="resultMTC" style=" width: 100%;font-weight: bold;font-size: 114%; ">
                <thead>
                        <tr>
                                <th class="Foto"></th>
                                <th class="Quien" style="line-height: 23px;"><?php echo elgg_echo('tokalah:artista');?></th>
                                <td class="Cuanto"><?php echo elgg_echo('Usuarios');?></td>
                                <th class="Estilo"><?php echo elgg_echo('artistas:estilo');?></th>
                                <th class="localidad"><?php echo elgg_echo('Localidad');?></th>
                                <th class="Provincia"><?php echo elgg_echo('Provincia');?></th>
                                <th class="Fecha"><?php echo elgg_echo('Fecha');?></th>
                        </tr>
                </thead>
                <tbody style=" font-size: 14px;vertical-align:  middle;display: table-row-group; text-indent: 0.1%">

                </tbody>
        </table>
          
    </div>

	<p class="groups_info_edit_buttons">

<?php
        if(isadminloggedin()){
	//if ($vars['entity']->canEdit())
	//{

?>

		<a href="<?php echo $vars['url']; ?>mod/groups/edit.php?group_guid=<?php echo $vars['entity']->getGUID(); ?>"><?php echo elgg_echo("edit"); ?></a>


<?php

	}

?>
	</p>
        
<div style=" height: 17px"> </div>
<div id="fb-root" style=""></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:comments href="<?php echo $vars['url']; ?>pg/groups/<?php echo $vars['entity']->getGUID()."/".$vars['entity']->name; ?>" num_posts="5" width="700"></fb:comments>


 </div>
        
   
</body>