problem with html with marquee tag

stefan1988

Geek Trainee
i uploaded the 3 files on pics you can see the problem more clearly when i start the page the pictures look mess up for some reason i have the picture painted in black so it blends with bgcolor=black

when i hit refresh problem is gone. i dont know why is it happening


the code is very simplistic. so you guys can see it add marquee.jpg to a folder named welcome and heres the code.

<HTML>
<BODY BGCOLOR=black>
<CENTER>
<MARQUEE SCROLLAMOUNT=10 BEHAVIOR=ALTERNATE><IMG SRC=welcome\marquee.jpg></MARQUEE>
<HR>
<A HREF=english/index.html><h1><FONT SIZE=15 COLOR=white>English</FONT></A>
<A HREF=espanol/index.html><FONT SIZE=15 COLOR=white>Español</FONT></H1></A>
<CENTER><HR>
<MARQUEE DIRECTION=RIGHT SCROLLAMOUNT=10 BEHAVIOR=ALTERNATE><IMG SRC=welcome\marquee.jpg></MARQUEE>

</BODY>
</HTML>


hope you guys can help me out this problem is driving me nuts.hopefully when i upload page it wont do that problem
 

Attachments

  • problem.JPG
    problem.JPG
    79.6 KB · Views: 356
  • page after refreshed button is pressed.JPG
    page after refreshed button is pressed.JPG
    122 KB · Views: 348
  • marquee.JPG
    marquee.JPG
    22.9 KB · Views: 368
i think i found what my problem is i blieve firefox doesnt support the marquee tag well and is giving me problems. is there another way i could get the same effect as the marquee tag?
 
a few notes about the code:

why do you use the font tag? I think it would be better to use CSS instead

doesn't the url in the link tags (as well as the src value in the img tag) have to be in quotes?


sorry if I sound picky, but isn't it like that?
 
a few notes about the code:

why do you use the font tag? I think it would be better to use CSS instead

doesn't the url in the link tags (as well as the src value in the img tag) have to be in quotes?


sorry if I sound picky, but isn't it like that?

We could go over the fundamentals of good coding practice, but that would take far too long and go off on too much of a tangent - good coding takes a good understanding of the code first.

But I agree that it should be mentioned from the start of someones learning. And taught.
 
Back
Top