mam strone na mambo 4.5.1 jednak dodaniu newsow w 2 kolumnach pod IE 6 rozciaga sie jedna z kolumn (ta po prawej0, gdy wchodze na strone przez firefoxa strona pieknie sie prezentuje bez rozwalonej kolumny. jak sie tego pozyc??
oto pelny kod pliku index.php mojej templatki, moze ktos pomoze??:
<?php
/**
* AkoGreenPortal - A Mambo 4.5.1 template
* @version 2.0
* @package AkoGreenPortal
* @copyright (C) 2003, 2004 by Arthur Konze - All rights reserved!
* @license http://www.konze.de/content/view/8/26/ Copyrighted Commercial Software
*/
defined( '_VALID_MOS' ) or
die( 'Nie masz uprawnień do oglądania tej strony. !!!' ); $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 if ( $my->id ) initEditor(); ?>
<meta http-equiv=\"Content-Type\" content=\"text/html;
<?php echo _ISO
; ?>\" />
<?php mosShowHead(); ?>
<link rel=\"shortcut icon\" href=\"
<?php echo $mosConfig_live_site;?>/images/favicon.ico\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"
<?php echo $mosConfig_live_site; ?>/templates/akogreenportal/css/template_css.css\" />
</head>
<body class=\"body\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">
<table width=\"768\" height=\"148\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td background=\"http://www.trucker.waw.pl/templates/akogreenportal/images/logo2.png\" height=\"149\" width=\"768\">
</td>
</tr>
</table>
<table width=\"759\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"545\" align=\"left\" valign=\"center\" bgcolor=\"#000000\" class=\"pathway\"><?php include $GLOBALS['mosConfig_absolute_path'] . '/pathway.php'; ?></td>
<td width=\"221\" align=\"right\" valign=\"center\" bgcolor=\"#000000\" class=\"pathway\">
<?php echo (strftime (\"%A, %d %B %Y\", time()+($mosConfig_offset*60*60))); ?> </td>
</tr>
</table>
<table width=\"756\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"756\" background=\"
<?php echo $mosConfig_live_site;?>/templates/akogreenportal/images/loc_bar_back.gif\">/templates/akogreenportal/images/loc_bar_back.gif\"></td>
</tr>
</table>
<center><?php if ( mosCountModules ('banner') ) mosLoadModules( 'banner', -1 ); ?></td></center>
<table width=\"757\" border=\"0\" align=\"center\" cellpadding=\"5\" cellspacing=\"0\">
<!-- Left Modules -->
<?php
if (mosCountModules('left')>0) {
?>
<td valign=\"top\" width=\"181\">
<?php mosLoadModules ( \"left\" ); ?>
</td>
<?php
}
?>
<td width=\"379\" valign=\"top\"><center> </center>
<?php if (mosCountModules('top')>0) mosLoadModules ( \"top\" ); ?>
<?php mosLoadModules ( 'user5' ); ?>
<?php mosMainBody(); ?>
<?php mosLoadModules ( 'user3' ); ?>
</td>
<!-- Right Modules -->
<?php
if (mosCountModules('right')>0) {
?>
<td width=\"167\" valign=\"top\" nowrap=\"nowrap\"><form action=\"index.php\" method=\"post\">
<p align=\"center\">
<input type=\"hidden\" name=\"option\" value=\"search\"><input class=\"inputbox\" type=\"text\" name=\"searchword\" size=\"15\" value=\"
<?php echo _SEARCH_BOX
; ?>\" onBlur=\"if(this.value=='') this.value='
<?php echo _SEARCH_BOX
; ?>';\" onFocus=\"if(this.value=='
<?php echo _SEARCH_BOX
; ?>') this.value='';\"> </form>
<?php mosLoadModules ( \"right\" ); ?>
</td>
<?php
}
?>
</tr>
</table>
<div align=\"center\">
/templates/akogreenportal/images/arrow2up.gif\" width=\"12\" height=\"9\" border=\"0\" align=\"middle\">
/templates/akogreenportal/images/arrow2up.gif\" width=\"12\" height=\"9\" align=\"middle\">
[/quote]
<table align=\"center\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"760\">
<tr>
<td width=\"754\" bgcolor=\"#000000\"> </td>
</tr>
<tr>
<td bgcolor=\"#FF8306\" align=\"center\">
<p />
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
</td>
</tr>
</table>
</body>
</html>
jak juz jestesmy przy kodzie, jak najlepiej pozycjonowac strone przez urzadzenie w mambo, czy lepiej tam nic nie wpisywac a samemu wkleic kod z meta'mi do kodu index.php templatki?
Ten post edytował trucksweb 4.02.2005, 22:34:05