Problem with marquee

nono29,

I cannot reproduce the problem in Chrome that is shown in your screenshot. For me, it works OK.

Interestingly, the marquee does not work for me in IE11. The text does not wrap in the apDiv10 box. But it works for you. ???

Could it be a virus ?

galia

I do not think so. :slight_smile:

Much of your code runs on a server. We cannot run the flash code or any advertising or other code that must be run on a server. That may account for some difference in what we see vs. what you see. Still, I do not understand why the text does not wrap in IE11. That’s a puzzle. :scratch:

The text wrap works for me Ron. Darn, I was looking forward to a good puzzle.

Also with OP, IE and Chrome are looking exactly alike for me. I do not see issues.

so what to do?

galia

I don’t think we can repeat it anymore times - get it online.

I also cannot reproduce any problems, and as Ryan says, there is nothing more we can do to help unless you put the site online somewhere. You don’t need to make it public; just put it somewhere where you can share a link here.

However, I notice you have failed to properly understand the solution I gave you to your previous problem with dir=“rtl”. The direction rtl is set for the entire page with

<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">

For the table “main-table”, the direction has been changed to ltr -

<table class="main-table"  width="765" height="876" border="0" cellpadding="0" cellspacing="0" dir="ltr">

The only page elements where you need to declare dir=“rtl” are the Hebrew titles within that table, which I marked

<span class="highlight" dir="rtl">

All other Hebrew text on that page will automatically display rtl because the whole page is set to display that way. You don’t need to add it to the marquee tag.

I also explained in your other thread that it is preferable to declare the direction in the HTML, not the CSS, and I duly added in the markup above. I also removed the declarations from your CSS, but I notice you have included them again. Why? They are not needed, and having unnecessary code like this is likely to lead to conflicts and errors.

hello!

do you whant that i make a zip/rar file?
and were i have to declare in html and what i have to remove from css?

thanks galia

No. We want you to upload your files onto a web server somewhere, so that we can view them as if we’re viewing a live site - with the Flash, images and everything else all in place. You can buy web hosting very cheaply. If it’s just for testing, you could even go with free hosting, although that’s not usually very satisfactory.

If you’re referring to my point about rtl, then please re-read it and try to understand how it works in general, not just how to apply it to this page for a quick fix. Unless you start trying to work things out for yourself, you will make no real progress, because each time you have to come back and ask for step-by-step instructions.

You need to remove the declarations from the marquee tag, and also from anywhere they occur in your CSS. (Compare your CSS with mine, if you need a further hint.)

You making this website must mean that it will eventually be online soon - so web hosting should already be in your immediate future. Might as well bite the bullet now and get it so we can actually get this up and running faster.

hello!

i don’t if i can send you online after i finish the site(the project) they will give me an address to the the site is there another way?
and i try like techobear said to change the code like he did.

thanks galia

If you are doing this as part of a course, then perhaps you should be asking your tutors for advice? But just because they are going to give you instructions on where to post it at the end of your course doesn’t mean that you can’t post it somewhere temporarily now, while you work on it.

Do you understand why we say we need you to make a live demonstration?

At the moment, you are reporting problems with the site, but we can’t reproduce those problems using the code you are posting here. But there are items which you can view - such as the Flash videos and the images - but we have no access to. So it may be these items which are causing a problem. Or it could be a setting on your computer. The only way we can know for sure where the problem lies is if we can all see exactly the same files under exactly the same circumstances. In other words, if you put your files onto web hosting somewhere, and then we - and you - can all view those files in different browsers and see if there are any problems.

hello!

i compared what you did about the rtl to what i did and it still doesn’t work
sending the code to check

<!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" dir="rtl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
object *{
padding:0;
margin:0;
}

#container {
	position: relative;
	width: 960px;
	z-index: 1;
	border: thick solid #000;
	margin-right: auto;
	margin-left: auto;
	height: 1200px; 
}
#header {
position: relative;
width: 958px;
height: 146px;
z-index: 2;
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
border-bottom-style: solid;
border-bottom-width: medium;
border-bottom-color: #ac1c33;
margin-right: auto;
margin-left: auto;
left: 0px;
top: 0px;
background-image: url(images/html-images/canstockphoto178167596_comp.jpg);
}
#tab {
position: relative;
width: 960px;
height: 54px;
z-index: 4;
background-color: #57010c;
border-bottom-width: thin;
border-bottom-style: solid;
}
#apDiv1 {
	position: relative;
	width: 960px;
	z-index: 5;
	background-image: url(images/html-images/canstockphoto17816756009_comp.jpg);
	background-repeat: repeat;
	margin: 0px;
	height: 897px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
#apDiv2 {
	position: relative;
	width: 960px;
	height: 98px;
	z-index: 6;
	background-image: url(images/html-images/canstockphoto178167567_comp.jpg);
	background-repeat: repeat;
	float: right;
}
.sign {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bolder;
	color: #690917;
	text-align: center;
	white-space: nowrap;
}
.outside {
	border: medium double #000;
}
.highlight {
	background-color: #FFF;
	border: thin solid #000;
	font-size: 16px;
	padding: 1px;
	-webkit-transition: all;
	-moz-transition: all;
	-ms-transition: all;
	-o-transition: all;
	transition: all;
	vertical-align: middle;
	display: inline-block;
	margin: 2px 0;
	white-space: nowrap;	
}
#apDiv4 {
	position: relative;
	width: 120px;
	height: 180px;
	z-index: 1;
	float: right;
}

table.main-table {
	border-spacing: 4px 0;
	margin-right: 180px;
}
table.main-table table {
	border-spacing: 4px 0;
}
#apDiv10 {
	width: 140px;
	height: 200px;
	z-index: 2;
	float: right;
	border: medium inset #CCC;
	margin-top: 200px;
	margin-right: 10px;
	clear: right;
	position: static;
	background-color: #FFF;
}
.heb {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #000;
	text-align: center;
}
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
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];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>
<body onload="MM_preloadImages('images/html-images/home-4.jpg','images/html-images/about-4.jpg','images/html-images/galleries-3.jpg','images/html-images/contect-4.jpg')">
<a name="top" id="top"></a>
<div id="container">
 
<div id="header"></div>
<div id="tab">
<table width="940" border="0" cellpadding="0" cellspacing="1" style="border-bottom:2px solid black">
<tr>
<td height="52" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contect','','images/html-images/contect-4.jpg',1)"><img src="images/html-images/contect-3.jpg" width="235" height="52" id="contect" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('galleries','','images/html-images/galleries-3.jpg',1)"><img src="images/html-images/galleries-4.jpg" width="235" height="52" id="galleries" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/html-images/about-4.jpg',1)"><img src="images/html-images/about-3.jpg" width="235" height="52" id="about" /></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/html-images/home-4.jpg',1)"><img src="images/html-images/home-3.jpg" width="235" height="52" id="home" /></a></td>
</tr>
</table>
<table width="940" border="0" cellpadding="0" cellspacing="1">
</table>
</div>
<div id="apDiv1">
  <div id="apDiv4"><table width="120" height="180" border="1">
    <tr>
      <td width="162" height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1505;&#1499;&#1492; love</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1494;&#1497;&#1511;&#1492;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</td>
    </tr>
    <tr>
      <td height="20" class="sign">&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</td>
    </tr>
  </table></div>
<div class="heb" id="apDiv10"><marquee direction="up" bgcolor="#FFFFFF" width="100" scrollamount="3"  onmouseover="stop()" onmouseout="start()">
  &#1500;&#1508;&#1504;&#1497;&#1499;&#1501; &#1502;&#1489;&#1495;&#1512; &#1506;&#1489;&#1493;&#1491;&#1493;&#1514; &#1489;&#1508;&#1500;&#1488;&#1513; &#1513;&#1497;&#1510;&#1512;&#1514;&#1497; &#1489;&#1504;&#1493;&#1513;&#1488;&#1497;&#1501; &#1513;&#1493;&#1504;&#1497;&#1501; &#1499;&#1490;&#1493;&#1503;:
&#1489;&#1488;&#1504;&#1512;&#1497;&#1501;, &#1502;&#1505;&#1499;&#1492; &#1493;&#1488;&#1497;&#1497;&#1511;&#1493;&#1503; &#1502;&#1511;&#1493;&#1493;&#1492; &#1513;&#1514;&#1492;&#1504;&#1493; &#1510;&#1508;&#1497;&#1497;&#1492; &#1504;&#1506;&#1497;&#1502;&#1492;.
</marquee></div>
<table class="main-table"  width="765" height="876" border="0" cellpadding="0" cellspacing="0" dir="ltr">
    <tr>
      <th width="760" height="84" class="outside" scope="col"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="84">
        <param name="movie" value="flash work/musicb.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="11.0.0.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="flash work/musicb.swf" width="760" height="84">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="11.0.0.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object></th>
    </tr>
    <tr>
           <td height="25" align="center" class="sign"><span class="highlight" dir="rtl">&#1489;&#1488;&#1504;&#1512; &#1502;&#1493;&#1505;&#1497;&#1511;&#1492;</span></td>
    </tr>
    <tr>
     <td style="vertical-align:top"  width="760" height="759"><table width="768" height="759" border="0" cellpadding="0" cellspacing="0">
        <tr align="left">
          <td width="551" height="280" align="center" class="outside"><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="551" height="280">
            <param name="movie" value="flash work/fishb.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/fishb.swf" width="551" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td width="189" height="280" align="center" class="outside"><object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="280">
            <param name="movie" value="flash work/lovem.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/lovem.swf" width="189" height="280">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
           <td height="25" align="center" class="sign"><span class="highlight" dir="rtl">&#1489;&#1488;&#1504;&#1512; &#1491;&#1490;&#1497;&#1501;</span></td>
          <td height="25" align="center" class="sign" ><span class="highlight" dir="rtl">&#1502;&#1505;&#1499;&#1492; love</span></td>
        </tr>
        <tr>
          <td width="559" height="394" align="center" class="outside"><object id="FlashID4" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="551" height="394">
            <param name="movie" value="flash work/Drummers.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/Drummers.swf" width="551" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
          <td width="189" height="394" align="center" class="outside"><object id="FlashID5" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="394">
            <param name="movie" value="flash work/icon1.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="11.0.0.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="flash work/icon1.swf" width="189" height="394">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="11.0.0.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></td>
        </tr>
        <tr>
          <td height="25" align="center" class="sign" ><span class="highlight" dir="rtl">&#1502;&#1514;&#1493;&#1508;&#1508;&#1497;&#1501;</span></td>
          <td height="25" align="center" class="sign" ><span class="highlight" dir="rtl">&#1488;&#1497;&#1497;&#1511;&#1493;&#1503;</span></td>
        </tr>
      </table></td>
    </tr>
</table>
</div>
<div id="apDiv3"></div>
<div id="apDiv2"></div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
swfobject.registerObject("FlashID3");
swfobject.registerObject("FlashID4");
swfobject.registerObject("FlashID5");
 </script>
</body>
</html>

thanks galia

I didn’t really expect it to solve the issue, but it’s always a good idea to remove as many problems/errors from your code as you can. You can’t rely on a page working as expected when there are errors in the code.

To progress any further, we need you to put the site online somewhere.

hello!
i didn’t put the site online but i want to ask i go to the edit browser list option on dreamweaver and i saw in the option- “preview in temporary file” first does it have to be marked because it is not marked in my dreamweaver before and i try to mark it and look again to the preview of the page on chrome and it look good does it good to do that?

thanks galia

It does us no good because we still aren’t able to see what you see fully. It’s as we’ve said - we can do no further help unless you get it online. Simple as that.

hello!

i made you to see a rar file instead like paul once suggest

http://www.speedyshare.com/NhCBB/my-html-project.rar

i download firefox to look how it goes there and it look good on there

thanks gallia

Is the site now displaying correctly for you? Have you solved your problem?

hello!

on chrome no the same like before and did you check the rar file that i send

thanks galia

I can’t open the rar file - it just keeps crashing my archive manager.