PDA

Zobacz pełną wersję : Różnice znaczne między IE A FF / IE NIE WYŚWIETLA FLASHA



saracrtllo
25-06-2007, 12:46
Witam.
mam stronke
www.saracoratello.com (http://www.saracoratello.com) - pod Mozzilla wszystko gra.
wyśrodkowane widać jaśniejsze tło dla treści ciemniejsze, na górze wyświetla się banner we flashu obok loga etc.
natomiast w IE strona sie zupełnie rozjeżdza nie centruje się i na pewno treśc nie ma wartości 900px jak ustawiłam.
Pozaty mnie wyświetla bannera we flash mimo iś ścieżke prawidłową podałam.

przesyłam kod index.php


<?php echo "<?xml version=\"1.0\"?>";
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$td_template_name = 'td_coral';

# Define the template path ##########
$td_template_path = $mosConfig_live_site.'/templates/'.$td_template_name;
$td_template_absolute_path = $mosConfig_absolute_path.'/templates/'.$td_template_name;
?>

<!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" lang="<?php echo _LANGUAGE; ?>">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<?php mosShowHead(); ?>
<title><?php echo $mosConfig_sitename; ?></title>

<?php
if ($my->id) {
include ("editor/editor.php");
initEditor();
}
?>

<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) {
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);
//-->
</script>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site;?>/templates/mervil/css/template_css_ie.css" />
<![endif]-->

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="css/template_css_ie.css" />
<![endif]-->

<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site;?>/templates/mervil/css/template_css_ie.css" />
<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="css/template_css_ie.css" />
<![endif]-->

<link href="<?php echo $mosConfig_live_site;?>/templates/mervil/css/template_css.css"
rel="stylesheet" type="text/css" />
<link href="css/template_css.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="hed">
<table cellspacing="0" width="700" height="180">
<tr>
<td><img border="0" src="http://saracoratello.com/templates/mervil/images/logo.jpg"></td>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="180" width="700">
<param name="wmode" value="transparent" />

<param name="quality" value="best" />
<param name="play" value="true" />
<embed height="180" pluginspage="http://www.macromedia.com/go/getflashplayer" src="templates/mervil/images/banner.swf" type="application/x-shockwave-flash" width="700" quality="best" play="true" wmode="transparent"></embed>
</object></td>
</tr>
</table>
</div>
<div id="main">
<div id="left_main">
<div id="search">
<form action="index.php" method="post">
<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='';" />
<input type="hidden" name="option" value="search"/>

</form>
</div>
<div id="menu">
<?php mosLoadModules( 'left' ); ?>
</div>


</div>
<div id="right_main" align="left">

<div id="sciezka" align="left">
<?php mosPathWay(); ?>
</div>

<div id="banner">
<?php mosLoadModules( 'banner', -1 ); ?>
</div>

<div id="mainb" >
<p>
<?php mosMainBody(); ?>
</p>
</div>

</div>
</div>

<div id="footer">&copy; Copyright <?php echo date("Y"); ?> <?php echo $GLOBALS['mosConfig_sitename']?>. All rights reserved.<br>
Created by <a href="http://www.saracoratello.com" class="linkfoot">saracoratello</a> with Joomla CMS.</div>
</body>

</html>

oraz css


/* CSS Document */
html { margin:0; padding:0; color:#060606; font:100%/1.2em Verdana, Helvetica, Arial, sans-serif; background-color: #58AFF2; background-position: center top; }
body {
width:905px;
height:auto;
margin:0 auto;
background-color:#1590EE;
font-family:arial, helvetica, sans-serif;
font-size:10pt;
color:#ffffff;
}

a.mainlevel:link, a.mainlevel:visited {
width:200px;
height:50px;
background-image: url(../images/button1.jpg);
display: block;
font-size: 14px;
color: #888784;
text-align: center;
text-decoration: none;
line-height: 50px;
letter-spacing: 0px;
}
a.mainlevel:hover {
color: #A5D05C;
width:200px;
height:50px;
background-image: url(../images/button2.jpg);
}

#hed{
position:relative;
top:0px;
left:0px;
}
#banner{
position:relative;
float:right;
}
#left_main{
position:relative;
top:-1px;
float:left;
left:1px;
width:200px;
background-color:#EDCA10;
}
#right_main{
position:relative;
float:right;
width:700px;
text-align:left;
}
#banner{
position:relative;
width:690px;
text-align:center;
height:auto;
}
#main{
background-color:##EDCA10;
}
#search{
text-align:center;
height:25px;
width:200px;
border-bottom:1px solid #E3BB0F;
}
#mainb{
position:relative;
clear:left;
width:690px;
left:5px;
text-align:left;}


.pathway {
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 10px;
line-height: 12px;
color: #FFFFFF;
font-weight: bold;
}

a.category {
font-size: 13px;
text-decoration: underline;
}
a.category:hover {
text-decoration: underline;
}

a.mainlevel {
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 13px;
text-align: center;
text-decoration: none;
}
a.mainlevel:hover {
font-family: Arial,Verdana,Helvetica,sans-serif;
color: #1278C7;
text-decoration: none;
}
a.sublevel {
text-decoration: underline;
}
a.sublevel:hover {
text-decoration: underline;
}
#sciezka{
position:relative;
clear:left;
width:700px;
height:15px;
border-bottom:1px solid #1A9BFE; }
div {
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 12px;
color: #FFFFFF;
text-align: justify;
}

a {
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 12px;
color: #FFFFFF;
font-weight: bold;
text-decoration: none;
}
a:hover {
color: #000000;
text-decoration: none;
}
#menu{
position:relative;}
#footer{
width:905px;
display:block;
float:none;
clear:right;
text-align:center;
background-color:#DA481F;}

.linkfoot{
font-size:10pt;
color:#ffffff;
text-decoration:none;}
.linkfoot:hover{
font-size:10pt;
color:#000000;
text-decoration:none;}
czy ktoś wie czemu w Ie to wszystko jest tak rozjechane i nie dziala prawidlowo ?

zwiastun
25-06-2007, 15:00
IE masz w trybie dziwności (quirks) - wywal, bo nie jest konieczna, deklarację xml z pliku szablonu i zobacz, co się będzie działo

irek_s
01-09-2007, 23:40
czy to pomoglo

irek_s
03-09-2007, 23:09
moge sie dowiedziec wiecej szczegolow poniewaz mam ten sam problem
ale nie potrafie sobie z nim poradzic

flash dziala ok w Firefoxie

a w IE nie dziala

lukaszek2401
04-09-2007, 17:33
jak na mój gust to brakuje jednego znacznika param....
dopisz

<param name="movie" value="templates/mervil/images/banner.swf" />


i ma działać pod IE ...wogóle często się zdaża że ktoś poda ścieżkę do swf'a w embed jak trzeba a w param tym co na górze napisałem nie zmienia ścieżki, wtedy firefox wyświetli dobrze animację ale już IE jej nie zobaczy....

irek_s
04-09-2007, 20:59
dzieki