473,775 Members | 2,489 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

. FIREFOX nested-marquee bug

5 New Member
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 4974
David Laakso
397 Recognized Expert Contributor
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 Recognized Expert Expert
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 Recognized Expert Contributor
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
000baaa000
5 New Member
http://www.w3.org/TR/css3-marquee/
Oct 18 '08 #5
drhowarddrfine
7,435 Recognized Expert Expert
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
8784
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 have a <div> within which I have another <div> ( i.e nested divs). I find that Firefox gives me the result I want but IE 6 does'nt. IE six chops out the title. WHat suggestions/recommnedations can you guys
4
6819
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 id="A1">item</a><br>
5
2530
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 be defined identically (to take up 100% of the width of the parent table), and indeed IE makes them the same width, as I wanted and expected. But in Firefox (latest), the "evening"
3
2056
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 having deals with stretching nested tables to fill the cell they are nested in completely. I have specified the embedded table to have a height of "100%", but it acts as if no height is given. Any help would be greatly appreciated.
18
2538
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 nested div elements. the problem is, in IE the height of the container-div is extended -- it makes itself as high as *all* elements w/i in, rather than the fixed-height i have assigned in px.
9
1556
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 cross-browser user base, I wanted to see what it would look like in Firefox... well I am terrified how badly firefox renders practiclly all the pages to the point where app is unusable in firefox. I am not even sure where/how to begin addressing these...
13
2876
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 here: http://s161149005.onlinehome.us/DEMOS/FF/RESIZE_PROB/main/frameset.asp It works fine in IE 6, but in Firefox, it is broken. Specifically, when the page/frameset first loads in either browser, it looks correct. But when you click the...
4
8814
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 below. The list goes something like this: <ul class="menu"> <li>Menu 1 <ul> <li>Item 1</li>
3
2927
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 portion of the table I have another table that specifies "display:none" to hide it. When the page loads, if JavaScript is enabled then it will change to "display:block". However, the problem under Firefox is that the width of
5
4586
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 time you view it the borders overlap. I know it has some strange table nesting, this is to overcome an IE bug. Any clues on the Firefox (ver 2.0.0.3) problem would be appreciated.
0
9622
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10270
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10109
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10051
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9916
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5360
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4017
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2853
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.