Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<MARQUEE> problem on Macs?

Status
Not open for further replies.

jasonsalas

IS-IT--Management
Joined
Jun 20, 2001
Messages
480
Location
GU
Has anyone ever heard of <MARQUEE> tags wigging out on Macs? I've been working on a page design - - and it looks alright (that's speculative) on Windows boxes, but on Macs the scrolling text in the bottom-right stretches waaaaay out, pulling the table cell it resides in extremely far.

I guess I could get around this by explicitly having the width attribute of the <MARQUEE> set to a certain # of pixels, but I wasn't aware of this. At the moment, the width property is 97% of the table cell width.
 
Gah, marquee is horrid. An abomination above all others. Don't use it.
 
get rid of marquee, it's an abomination.

Luckily the W3 removed it from the standard (if it was ever part of it).
 
<marquee> is a Microsoft tag that only works in Internet Explorer. Other browsers will ignore the <marquee> tags and render the whole of its content instead.

Like the other guys say, it's one of those &quot;cool&quot; effects that are actually really irritating - like animated gifs and other moving gew-gaws on a page you're trying to read.

If you're determined to stick with this effect (and, to be fair, your stock price ticker is probably a legitimate place to use it) look for a Javascript way to implement it, like this one:


Browsers who don't understand Javascript, or have it switched off, will see no stock prices at all - but thats a more graceful way to degrade than to mess up your page layout by showing all at once!

-- Chris Hunt
 
Actually,

I'm thinking about including the stock ticker (something I wrote on the side - using an IFRAME. What's the cross-browser compatability with IFRAMEs? If I recall, just IE, right?

I'll admit that I'm very bad at building cross-browser apps. I typically build exclusievly for MSIE5.5+ and chalk the remainder up as acceptables losses.

Jas
 
iframe was included in HTML 4.01 I think so should work across browsers (alright I'm an optimist). I don't think it is in the XHTML spec though

MrBelfry
 
only thing worse than marquee is blink.


A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
- Quote by Douglas Adams
 
Hi everyone,

Just a follow-up...I did some server-side testing for the <MARQUEE> tag and only display it if the client is running IE4+, so it should degrade pretty nicely in Netscape, Opera, Macs, etc.

This is what happens when a developer takes on a designer's job...ouch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top