Avatar of ChefMaha
ChefMaha
 asked on

why doesn't my image show on the marquee!!

Hi,

my marquee works completely fine with plain text. as soon as I add an image, it's completely blank =(

what should I do?
<marquee direction="left" class = "banner" behavior="scroll">
<img src="images/yellowdot.gif" />
</marquee>

Open in new window

HTML

Avatar of undefined
Last Comment
ChefMaha

8/22/2022 - Mon
hielo

The path to the image may not be right. The attached code worked for me. Perhaps your path should be:
"/images/yellowdot.gif"
<marquee direction="left" class = "banner" behavior="scroll">HI
<img src="http://www.google.com/intl/en_ALL/images/logo.gif" />
</marquee>

Open in new window

ChefMaha

ASKER
no the path is correct because when I tried to display the images without a marquee, it displayed fine
ChefMaha

ASKER
by the way, when I had both text and image in the marque none were being displayed (note that text by itself is displayed perfectly)
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ChefMaha

ASKER
you know it's really weird. cuz I tested the code on another page and it was working fine. But only on this page, it won't work at all.
<html>
 
<head>
<link rel="stylesheet" href="style.css" type="text/css" media="screen"/>
</head>
 
<body>
 
<div id="header">
<table height= 137px cellpadding=0 cellspacing=0 dir="rtl">
<tr valign="bottom" >
<td valign="bottom" > <img src="images/homelink.gif" /></td>
<td valign="bottom" > <img src="images/aboutuslink.gif" /></td>
<td valign="bottom" > <img src="images/aboutadhdlink.gif" /></td>
<td valign="bottom" > <img src="images/activitieslink.gif" /></td>
<td valign="bottom" > <img src="images/medicalnewslink.gif" /></td>
<td valign="bottom" > <img src="images/contactuslink.gif" /></td>
<td valign="bottom" > 
<img src="images/en-aboutuslink.gif" /></td>
</tr>
</table>
</div>
 
<div id="content">
 
<table dir="rtl" cellpadding=0 cellspacing=0>
<tr>
<td height=170px valign="center" colspan=2>
<img style="margin: 0px 0px 0px 0px" src="images/flashingpart.gif" />
 
</td>
</tr>
 
<tr>
<td colspan=2 style="background: url('images/banner.gif') no-repeat;">
 
 
</td>
</tr>
 
<tr>
 
<td>
 
 
<p class="title">
E,EH9) /9E '671'( A17 'D-1C) H *4** 'D'F*('G
</p>
 
<p class="paragraph">
GJ E,EH9) .J1J) *H9HJ) :J1 1(-J) *#33* AJ 3 JHDJH 2004E -J+ J9*(1 '671'( A17 'D-1C) H *4** 'D'F*('G EF #C+1 'D#E1'6 'D95(J) 'F*4'1'K D/I 9J'/'* 'D#95'( H 'D7( 'DFA3J DD#7A'D. H'671'( A17 'D-1C) H*4** 'D'F*('G EF #C+1 'D'671'('* 'D3DHCJ) 'F*4'1'K (JF #7A'D 'DE/'13 'D'(*/'&J) HEF #C+1 'DE4'CD 'DE2EF) D/I 'D#7A'D 3 - 5%. 
</p>
</td>
 
<td>
<br>
<table name="LinksTable" dir="rtl">
<!-- first row in LinksTable -->
<tr>
<td><img src="images/stories.gif" /></td>
<td><img src="images/articles.gif" /></td>
<td><img src="images/download.gif" /></td>
<marquee direction="left" class = "banner" behavior="scroll">
<img src="images/yellowdot.gif" />
</marquee>
</tr>
 
<!-- second row in LinksTable-->
<tr>
<td><img src="images/joinus.gif" /></td>
<td><img src="images/yoursupport.gif" /></td>
<td><img src="images/doctors.gif" /></td>
</tr>
 
<!-- end of Links Table -->
</table>
 
</td>
</tr>
 
</table>
 
</div>
 
<div id="footer">
</div>
 
</body>
 
</html>

Open in new window

ChefMaha

ASKER
ok it worked!

all I had to do is replace the  with a div

thanks for your help
<div id="banner">
 
<marquee direction="left" class = "banner" behavior="scroll">
<img src="images/yellowdot.gif" />
</marquee>
 
</div>

Open in new window

hielo

I tried your code and used google's image instead of your yellowdot image (because I don't have access to it), and it works. So, I suspect the issue is in your stylesheet. Disable the stylesheet for testing purposes and verify that it works.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ChefMaha

ASKER
oh I already found the answer thank you.

I put my solution in the post right before yours
SOLUTION
hielo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
ChefMaha

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.