Joomla.it Forum

Joomla! 1.0.x (versione con supporto terminato) => Le voci di Joomla.it (solo per versione Joomla 1.0.x) => I Template di Joomla 1.0.x => : paperjoomla 08 Mar 2007, 14:04:08

: layout in firefox ok in explorer ko
: paperjoomla 08 Mar 2007, 14:04:08
allora ragazzi in firefox visualizzo il layout del mio template centrato, invece in explorer mi mette la tabella a sinistra...
posto il codice index...mi date una mano?
:
<?php
 defined
"_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso split'='_ISO );echo '<?xml version="1.0" encoding="'$iso[1] .'"?' .'>';?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<?php mosShowHead(); ?>
<?php if ( $my->id ) {initEditor();} ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<?php
$myway 
$GLOBALS['mosConfig_live_site']."/templates/".$mainframe->getTemplate();
echo 
"<link rel=\"stylesheet\" href=\"$myway/css/template_css.css\" type=\"text/css\"/>" ;
echo 
"<link rel=\"shortcut icon\" href=\"$myway/favicon.ico\" />" ;?>


<style type="text/css">
<!--
body {
background-image: url(../../top_bg.gif);
background-repeat: repeat-x;
}
-->
</style></head>

<body id="body">
<div id="ol-mainbd">
<div id="topup"><img src="../header.jpg" width="800" height="160" /> </div>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="centice">
<tr><?php if (mosCountModules('left')) { ?>
<td valign="top" class="leftcol">
<div>
<?php mosLoadModules 'left',-); ?></div>
</td>
<?php ?>
<td valign="top" width="100%" id="contentol">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php if (mosCountModules('top')) { ?>
<tr valign="top">
<td colspan="3" align="center" class="newsflash">
<div>
<?php mosLoadModules 'top'); ?></div> </td>
</tr>
<?php ?><?php if (mosCountModules"user1" )>or mosCountModules"user2" )>0) { ?>
<tr><?php if (mosCountModules('user1')) { ?>
<td valign="top" class="contmod">
<div>
<?php mosLoadModules 'user1' ); ?></div> </td>
<?php ?><?php if (mosCountModules"user1" )>&& mosCountModules"user2" )>0) { ?>
<td>
<div class="mod"></div> </td>
<?php ?><?php if (mosCountModules('user2')) { ?>
<td valign="top" class="contmod">
<div>
<?php mosLoadModules 'user2' ); ?></div> </td>
<?php ?></tr>
<?php ?>
<tr align="left" valign="top">
<td colspan="3" style="padding: 5px 0;">
<div class="main">
<?php mosMainBody(); ?></div> </td>
</tr>
</table>
</td>
<?php if (mosCountModules('right',-3)) { ?>
<td valign="top" class="rightcol">
<div>
<?php mosLoadModules 'right',-); ?></div>
</td>
<?php ?></tr>
</table>
<div class="bann">

<?php mosLoadModules 'banner' ); ?></div>
<div class="foot">
<div class="footer_left">
  </div>
<div class="footer_right">
Copyright &copy; <?php echo date("Y"); ?> <?php echo $GLOBALS['mosConfig_sitename']?>. Tutti i diritti sono riservati.</div>
</div>
</div>
</body>

</html>
: Re: layout in firefox ok in explorer ko
: surfbit 09 Mar 2007, 15:57:42
Forse la soluzione stà nel css  ;) dovresti postare anche quello.
: Re: layout in firefox ok in explorer ko
: rider111 29 Mar 2007, 16:05:19
Possiamo fare una raccolta firme per l'abolizione di Explorer?  ;)