dzynek
20-02-2007, 23:11
Witam :)
Mam taki problem, text w Operze wyrównuje mi niepoprawnie, znaczy do prawej, a powinno do lewej. :(
W IE i Mozilli działa jak należy, nie mam zielonego pojęcia czemu tak się dzieje.
Za pomoc bedę bardzo wdzięczny :)
stronka www.dzynek.dorohusk.com
index.php w templatce
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-2\"?".">"; ?>
<!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>
<title><?php echo $mosConfig_sitename; ?></title>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/greens/flash/swfobject.js"></script>
<?php
if ($my->id) {
include ("editor/editor.php");
initEditor();
}
?>
<?php include ("includes/metadata.php"); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<META name="verify-v1" content="uWcH5UkB+b9+SVpk0O2QXbTH/qDsPXGGR72WmnqZxvM=" />
<link href="<?php echo $mosConfig_live_site;?>/templates/greens/css/template_css.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/greens/images/favicon.ico"/>
<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<style type="text/css">
<!--
.style1 {font-size: xx-small}
-->
</style>
</head>
<body onload="MM_preloadImages('<?php echo $mosConfig_live_site;?>/templates/greens/images/menu_bgr2.png')">
<?php // mosLoadModules ( 'top' ); ?>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#999999">
<div id="flashcontent"> <!-- warstwa, w której b_dzie animacja -->
<strong>Aby poprawnie strona byla wyswietlana - musisz uaktualnic Flash Player'a </strong>
<a href="<?php echo $mosConfig_live_site;?>/templates/greens/flash/flashversion.html"> Kliknij tu aby sprawdzic oraz zainstalowac najnowsza wersje.</a>.
</div>
<!-- kod ActionScript odpowiedzialny za wstawienie w_a_ciwej animacji flash: -->
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("<?php echo $mosConfig_live_site;?>/templates/greens/flash/head.swf", "head", "768", "168", "8", "#000000");
<!--kolejno: nazwa pliku, szeroko__, wysoko__, wersja FlashPlayer'a, kolor t_a-->
so.write("flashcontent");
// ]]>
</script>
</td>
</tr>
</table>
<table width="766" border="0" align=center cellpadding="0" cellspacing="0">
<tr>
<td width="173" valign="top">
<table height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="33" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09.jpg" width="33" height="36" alt="" /></td>
<td width="109" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_10.jpg" width="109" height="36" alt="" /></td>
<td width="31" height="36" align=right><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09p.jpg" width="31" height="36" alt="" /></td>
</tr>
<tr>
<td width="33" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13.jpg"> </td>
<td width="109" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_14.jpg" bgcolor="#999999"><br><?php mosLoadModules ( 'left' ); ?><br><?php $side = "right"; mosLoadModules ( 'right' ); ?>
<?php mosLoadModules ( 'user1' ); ?></td>
<td width="31" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13p.jpg"> </td>
</tr>
<tr>
<td width="33" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16.jpg" width="33" height="39" alt="" /></td>
<td width="109" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_dol.jpg" width="109" height="39" alt="" /></td>
<td width="31" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16p.jpg" width="31" height="39" alt="" /></td>
</tr>
</table>
</td>
<td width="593" valign="top" align=right>
<table height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="32" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09_2.jpg" width="32" height="36" alt="" /></td>
<td width="523" height="36" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_10_2.jpg">
<td width="37" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09_2p.jpg" width="37" height="36" alt="" /></td>
</tr>
<tr>
<td width="32" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13_2.jpg"> </td>
<td width="526" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_14.jpg" bgcolor="#999999"><br><?php include ("mainbody.php"); ?><?php if (file_exists($mosConfig_absolute_path."/components/com_comments/comments.php")) { require_once($mosConfig_absolute_path."/components/com_comments/comments.php"); } ?>
<?php mosLoadModules ( 'inset' ); ?>
<?php mosLoadModules ( 'user2' ); ?></td>
<td width="37" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13_2p.jpg"> </td>
</tr>
<tr>
<td width="32" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16_2.jpg" width="32" height="39" alt="" /></td>
<td width="526" height="39" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_dol_2.jpg" bgcolor="#CCCD67"></td>
<td width="37" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16_2p.jpg" width="37" height="39" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
</body>
</html>
Mam taki problem, text w Operze wyrównuje mi niepoprawnie, znaczy do prawej, a powinno do lewej. :(
W IE i Mozilli działa jak należy, nie mam zielonego pojęcia czemu tak się dzieje.
Za pomoc bedę bardzo wdzięczny :)
stronka www.dzynek.dorohusk.com
index.php w templatce
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-2\"?".">"; ?>
<!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>
<title><?php echo $mosConfig_sitename; ?></title>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/greens/flash/swfobject.js"></script>
<?php
if ($my->id) {
include ("editor/editor.php");
initEditor();
}
?>
<?php include ("includes/metadata.php"); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<META name="verify-v1" content="uWcH5UkB+b9+SVpk0O2QXbTH/qDsPXGGR72WmnqZxvM=" />
<link href="<?php echo $mosConfig_live_site;?>/templates/greens/css/template_css.css" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/greens/images/favicon.ico"/>
<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<style type="text/css">
<!--
.style1 {font-size: xx-small}
-->
</style>
</head>
<body onload="MM_preloadImages('<?php echo $mosConfig_live_site;?>/templates/greens/images/menu_bgr2.png')">
<?php // mosLoadModules ( 'top' ); ?>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#999999">
<div id="flashcontent"> <!-- warstwa, w której b_dzie animacja -->
<strong>Aby poprawnie strona byla wyswietlana - musisz uaktualnic Flash Player'a </strong>
<a href="<?php echo $mosConfig_live_site;?>/templates/greens/flash/flashversion.html"> Kliknij tu aby sprawdzic oraz zainstalowac najnowsza wersje.</a>.
</div>
<!-- kod ActionScript odpowiedzialny za wstawienie w_a_ciwej animacji flash: -->
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("<?php echo $mosConfig_live_site;?>/templates/greens/flash/head.swf", "head", "768", "168", "8", "#000000");
<!--kolejno: nazwa pliku, szeroko__, wysoko__, wersja FlashPlayer'a, kolor t_a-->
so.write("flashcontent");
// ]]>
</script>
</td>
</tr>
</table>
<table width="766" border="0" align=center cellpadding="0" cellspacing="0">
<tr>
<td width="173" valign="top">
<table height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="33" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09.jpg" width="33" height="36" alt="" /></td>
<td width="109" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_10.jpg" width="109" height="36" alt="" /></td>
<td width="31" height="36" align=right><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09p.jpg" width="31" height="36" alt="" /></td>
</tr>
<tr>
<td width="33" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13.jpg"> </td>
<td width="109" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_14.jpg" bgcolor="#999999"><br><?php mosLoadModules ( 'left' ); ?><br><?php $side = "right"; mosLoadModules ( 'right' ); ?>
<?php mosLoadModules ( 'user1' ); ?></td>
<td width="31" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13p.jpg"> </td>
</tr>
<tr>
<td width="33" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16.jpg" width="33" height="39" alt="" /></td>
<td width="109" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_dol.jpg" width="109" height="39" alt="" /></td>
<td width="31" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16p.jpg" width="31" height="39" alt="" /></td>
</tr>
</table>
</td>
<td width="593" valign="top" align=right>
<table height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="32" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09_2.jpg" width="32" height="36" alt="" /></td>
<td width="523" height="36" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_10_2.jpg">
<td width="37" height="36"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_09_2p.jpg" width="37" height="36" alt="" /></td>
</tr>
<tr>
<td width="32" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13_2.jpg"> </td>
<td width="526" valign="top" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_14.jpg" bgcolor="#999999"><br><?php include ("mainbody.php"); ?><?php if (file_exists($mosConfig_absolute_path."/components/com_comments/comments.php")) { require_once($mosConfig_absolute_path."/components/com_comments/comments.php"); } ?>
<?php mosLoadModules ( 'inset' ); ?>
<?php mosLoadModules ( 'user2' ); ?></td>
<td width="37" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_13_2p.jpg"> </td>
</tr>
<tr>
<td width="32" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16_2.jpg" width="32" height="39" alt="" /></td>
<td width="526" height="39" background="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_dol_2.jpg" bgcolor="#CCCD67"></td>
<td width="37" height="39"><img src="<?php echo $mosConfig_live_site;?>/templates/greens/images/index_16_2p.jpg" width="37" height="39" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
</body>
</html>