473,320 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

. FIREFOX nested-marquee bug

The following HTML marquee code
works better in Microsoft Internet Explorer,
breaks (in more than one way) in Mozzila Firefox
Expand|Select|Wrap|Line Numbers
  1. <pre>------------------------------------------------- start HTML code ------------------------------
  2.  
  3. <marquee>  
  4.                     <marquee width=100% direction=up>
  5.            <CENTER><marquee width=50% BGCOLOR=ORANGE>INNER 1</marquee> <br>
  6. <CENTER><marquee  width=60% BGCOLOR=BLUE STYLE="text-align:center">INNER  2 </marquee><br>
  7.            <CENTER><marquee width=50% BGCOLOR=ORANGE>INNER 3</marquee><br>
  8.                     </marquee>
  9. </marquee>
  10.  
  11. <pre>
  12.  
  13.  
  14.  
  15.  
  16.  
  17. <img src=http://geometrica.tripod.com/dantelle.png>
  18.  
  19.  
  20.  
  21.  
  22. this is the llllllllllllllllllllllllllllast line
  23.  
---------------------------------------------- end HTML code ------------------------------
Oct 17 '08 #1
5 4941
David Laakso
397 Expert 256MB
Document content is HTML Proprietary. Validate the markup.
Expand|Select|Wrap|Line Numbers
  1. Warning: <marquee> is not approved by W3C; Warning: missing <!DOCTYPE> declaration; Warning: nested emphasis <marquee>; Warning: trimming empty <marquee>
  2. <marquee>
  3. Warning: <marquee> is not approved by W3C; Warning: inserting implicit <marquee>; Warning: trimming empty <marquee>
  4. <marquee width=100% direction=up>
  5. Warning: <marquee> is not approved by W3C; Warning: missing </center>; Warning: <marquee> attribute "bgcolor" has invalid value "ORANGE"
  6. <CENTER><marquee width=50% BGCOLOR=ORANGE>INNER 1</marquee> <br>
  7. Warning: <marquee> is not approved by W3C; 
  8. Warning: missing </center>
  9. <CENTER><marquee width=60% BGCOLOR=BLUE STYLE="text-align:center">INNER 2 </marquee><br>
  10. Warning: <marquee> is not approved by W3C; Warning: missing </center>; Warning: <marquee> attribute "bgcolor" has invalid value "ORANGE"
  11. <CENTER><marquee width=50% BGCOLOR=ORANGE>INNER 3</marquee><br>
  12. Warning: discarding unexpected </marquee>
  13. </marquee>
  14. Warning: discarding unexpected </marquee>
  15. </marquee> 
  16.  
Oct 17 '08 #2
drhowarddrfine
7,435 Expert 4TB
Well, first of all, the marquee tag is not part of the HTML standard and never has been so I'm not surprised if something doesn't work. iirc, this was a Microsoft invention from the 90s.
Oct 17 '08 #3
David Laakso
397 Expert 256MB
All versions of Internet Explorer need a doctype. The doctype they need for proprietary html "marquee" is:
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3.  
Validate to that doctype. Once that is done, or as close to it as you are able to achieve, bring it back if the proprietary html "marquee" does not work (render as intended) in compliant browsers -- among them -- Opera, Safari, and Firefox. Better yet: Remember, not to forget, that this is the year of our Lord 2008-- not 1998. And that, perhaps, you could explore contemporary means to achieve your goal. Or could you?
Oct 18 '08 #4
http://www.w3.org/TR/css3-marquee/
Oct 18 '08 #5
drhowarddrfine
7,435 Expert 4TB
First, you are trying to use html. What you linked to is CSS.
Second, that is a Marquee module, not a marquee property, though there is a marquee-style.
Third, that is still in draft form and I'm not sure which browsers support it. Opera does so I think Safari would, too. IE definitely will not.
Oct 18 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: drdeadpan | last post by:
Hi, Being a newbie, pardon me if this question has been answered. I was finding it difficult to search for my problem on Usenet 'cos I was having a tough time describing it.. Here gow. I...
4
by: TR | last post by:
My document had the following nested DIV structure, with a possible <SPAN> between the DIV and the <A> elements: <div id="container"> <div id="D1"> <span>blah blah</span><br> <A...
5
by: thatseattleguy | last post by:
I'm stumped. Visit: http://positivesweat.com/class.html ....and look at the tables in the middle labeled "morning" and "evening". Do this in both IE and Firefox. The tables appear to me to...
3
by: Jason Honn | last post by:
I have an .aspx page that renders fine in IE6, but it does not render properly in Firefox. If I change the extension from .aspx to .htm everything renders just fine in Firefox. The problem I am...
18
by: matt | last post by:
hello, i am experiencing a little problem w/ regards to IE & Firefox compatibility (works as expected in firefox, doesnt in IE). i have a container-div element, which contains 1 image, and 2...
9
by: WebMatrix | last post by:
I've been developing ASP.NET 1.1 application, testing it in IE 6.0 on my development machine. Of course, everything looks normal in IE as it should. Well, since it's going to be released to...
13
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available...
4
by: Mark | last post by:
I have developed a generic list-based css menu. It works both in IE7 and Firefox, and with the help of Peter Nederlof's csshover.htc, with older IE versions. I have included a simplified version...
3
by: McKirahan | last post by:
I have a Web page that uses some JavaScript and CSS. I have specified a three column table with a fixed-width left and right side; the center colum expands to fill the page. Within this...
5
by: Davo | last post by:
Hi All, I've got a test page that displays nested tables (it's machine generated), it renders properly in IE6 and Opera 9. In firefox it renders properly after I hit the refresh key, the first...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.