Hi all, i have some problem with my marquee script. when i try it outside table, it is running properly in IE 6, but when i put it inside a table, the images/text disapper, but it is ok on mozilla & opera. But, why in another website that i've developed before, i have no problem with this thing, i mean, i can use a marquee script inside table, and it is working properly on IE,Firefox & opera. here it is the code that i use. <!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> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <TITLE>Lub'tech Indogerma</TITLE> <SCRIPT type="text/javascript" src="navigasi/stmenu.js"></SCRIPT> <STYLE type="text/css">@import 'style/ms_style.css';</STYLE> <LINK REL="SHORTCUT ICON" HREF="images/icon.png"> </HEAD> <BODY bgcolor="#666666"> <CENTER> <TABLE width="1000" height="400" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <TR> <TD align="center" valign="top"> <TABLE border="0" cellpadding="0" cellspacing="0"> <TR> <TD colspan="3" height="7"></TD> </TR> <TR> <TD width="220" height="238" rowspan="2" align="center" bgcolor="#e5e5e5"><IMG src="images/logo_produk.gif" /></TD> <TD width="546" bgcolor="#393939" align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="357" height="238" title="flash_produk"> <param name="movie" value="flash/product_application_1.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <embed src="flash/product_application_1.swf" width="357" height="238" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> </object> </TD> <TD width="220" rowspan="2" align="center" bgcolor="#e5e5e5" class="text_utama"> <STRONG>ABCD</STRONG><BR /> Jl. Taman Aries<BR /> Kencana Niaga I<BR /> </TD> </TR> <TR> <TD bgcolor="#000000" align="center"> <TABLE border="0" cellpadding="0" cellspacing="0"> <TR> <TD align="center"> <!-- Here it is the the code that i mean --> <!-----------------------------------------> <!-----------------------------------------> <MARQUEE onmouseover="this.stop()" onmouseout="this.start()" scrollAmount="2" scrollDelay="1" direction="up" height="100" align="center"> <IMG src="images/proapp_brand/caterpilar.jpg" /><BR /><BR /> <IMG src="images/proapp_brand/daewoo.jpg" /><BR /><BR /> <IMG src="images/proapp_brand/drill-tech.jpg" /><BR /> </MARQUEE> <!-----------------------------------------> <!-----------------------------------------> <!-----------------------------------------> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </CENTER> </BODY> </HTML> PHP: Does anyone here know, in which part of the code that i've made the mistake, and please show me the solution Best regards Sandy J
<marquee> is a proprietary (and fake) HTML extension created by Microsoft. Don't use it. Instead, use JavaScript for this.
So you'd think it'd work in IE But yeah, he's right. Also, using <br/>s in a marquee is asking for trouble. As is declaring a xHTML doctype then using MARQUEE, IMG, TABLE etc. Uppercase tags are my biggest pet peeve.
Dude, they can't even get Windows Vista working right. What makes you think the humble fake <marquee> tag would work too?