Link to home
Start Free TrialLog in
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

Avatar of hielo
hielo
Flag of Wallis and Futuna image

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

Avatar of ChefMaha
ChefMaha

ASKER

no the path is correct because when I tried to display the images without a marquee, it displayed fine
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)
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

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

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.
oh I already found the answer thank you.

I put my solution in the post right before yours
SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial