PDA

Zobacz pełną wersję : rozjeżdża sie stronka pod IE



M1RO
28-08-2007, 10:44
Witam
Wiec jak w temacie zrobiłem sobie szablon pod joomle i jest problem pod ff jest wszytko ok. ale pod IE czysta kaszana. Adres strony www.okno-komplex.pl (http://www.okno-komplex.pl)
Podaje zawartości pliku

index.php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><?php echo $mosConfig_sitename; ?></title>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>">
<?php if ($my->id) {
include ("editor/editor.php");
initEditor();
}
?><?php include ("includes/metadata.php"); ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/okno-komplex/css/template_css.css" rel="stylesheet" type="text/css">
</head>
<body <?php echo 'background="'.$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/pattern.jpg"'; ?> leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<!-- ImageReady Slices (okno-komplex layout.psd) -->
<center>
<table id="Table_01" width="1000" height="701" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="9">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_01.jpg" width="1000" height="88" alt="">'; ?></td>
</tr>
<tr>
<td colspan="2" rowspan="8">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_02.jpg" width="623" height="236" alt="">'; ?></td>
<td colspan="7">
<?php echo '<a href="index.php?option=com_content&task=view&id=41&Itemid=30"><img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_03.gif" width="377" height="31" alt="" border="0"></a>'; ?></td>
</tr>
<tr>
<td rowspan="7">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_04.jpg" width="17" height="205" alt="">'; ?></td>
<td colspan="6">
<?php echo '<a href="index.php?option=com_content&task=view&id=42&Itemid=31"><img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_05.gif" width="360" height="33" alt="" border="0"></a>'; ?></td>
</tr>
<tr>
<td rowspan="6">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_06.jpg" width="13" height="172" alt="">'; ?></td>
<td colspan="5">
<?php echo '<a href="index.php?option=com_content&task=view&id=43&Itemid=32"><img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_07.gif" width="347" height="34" alt="" border="0"></a>'; ?></td>
</tr>
<tr>
<td rowspan="5">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_08.jpg" width="14" height="138" alt="">'; ?></td>
<td colspan="4">
<?php echo '<a href="index.php?option=com_content&task=view&id=44&Itemid=33"><img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_09.gif" width="333" height="33" alt="" border="0"></a>'; ?></td>
</tr>
<tr>
<td rowspan="4">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_10.jpg" width="17" height="105" alt="">'; ?></td>
<td colspan="3">
<?php echo '<a href="index.php?option=com_easygallery&Itemid=35"><img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_11.gif" width="316" height="33" alt="" border="0"></a>'; ?></td>
</tr>
<tr>
<td colspan="3">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_12.jpg" width="316" height="2" alt="">'; ?></td>
</tr>
<tr>
<td rowspan="2">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_13.jpg" width="16" height="70" alt="">'; ?></td>
<td colspan="2">
<?php echo '<a href="index.php?option=com_content&task=view&id=45&Itemid=34"><img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_14.gif" width="300" height="31" alt="" border="0"></a>'; ?></td>
</tr>
<tr>
<td colspan="2">
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_15.jpg" width="300" height="39" alt="">'; ?></td>
</tr>
<tr>
<?php echo '<td background="'.$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_16.gif" width="52" height="" alt="">'; ?></td>

<?php echo '<td colspan="7" bgcolor="d8d8d7"'; ?> <?php include_once("mainbody.php"); ?></td>

<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_18.gif" width="48" height="100%" alt="">'; ?></td>
</tr>
<tr>
<?php echo '<td colspan="9" background="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/okno-komplex-layout_20.jpg" width="1000" height="81" alt="">'; ?> <?php include_once( $mosConfig_absolute_path .'/includes/footer.php' ); ?>
<?php mosLoadModules( 'debug', -1 );?></td>
</tr>
<tr>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="52" height="1" alt="">'; ?></td>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="571" height="1" alt="">'; ?></td>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="17" height="1" alt="">'; ?></td>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="13" height="1" alt="">'; ?></td>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="14" height="1" alt="">'; ?></td>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="17" height="1" alt="">'; ?></td>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="16" height="1" alt="">'; ?></td>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="252" height="1" alt="">'; ?></td>
<td>
<?php echo '<img src="' .$mosConfig_live_site. '/templates/' .$GLOBALS['cur_template']. '/images/spacer.gif" width="48" height="1" alt="">'; ?></td>
</tr>
</tbody>
</table>
</center>
<?php mosLoadModules ( 'left', true ); ?>
<!-- End ImageReady Slices -->
</body>
</html>



Co może być nie tak ?

lizartho
12-10-2007, 11:39
Pierwsze co wg mnie zle zrobiles to zle pociales strone. Tworzac tabele powinienes najlepiej trzymac sie wierszy i ciac wszystko po wierszach. Ja tak zawsze robie i nie mam problemu z rozjechana strona ani po IE ani w Operze ani w FF.