Flash Question — with IE/Netscape

L
Posted By
liquidgoodness
Jan 31, 2004
Views
372
Replies
14
Status
Closed
Hi everyone,

I’m experimenting with very basic flash, and am having
trouble getting it to show up where it should on the
webpage. It shows up fine in IE, but not in Netscape.

<http://www.bluewavestudios.com/test/index.html>

Please see the little calendar/clock in the upper left,
in IE and Netscape. Note how it’s misplaced in Netscape. Is there a common fix for this?

Would greatly appreciate your expertise in solving this.

Thank you!

p.s. I am using Photoshop and Imageready CS. Flash
was made with Macromedia Flash MX.

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

L
LenHewitt
Jan 31, 2004
Your code is all over the place.

You have a spurious closing </HTML> tag before the closing </body> tag for starters.

You also have 29 <DIV> tags, but 30 closing </DIV> tags, and yet the nesting is such that there is no matching closing </div> for the Table_01 <DIV>

Sort the coding and the positioning should sort itself…..
DM
Don_McCahill
Jan 31, 2004
One good way to ensure your coding is good is to use a validator. You can find one at www.w3.org (among other places). You post your URL and the program checks the code, listing errors and potential problems. You keep running through the validator until you get clean code.
Y
YrbkMgr
Jan 31, 2004
Don,

I never knew that service was available. Thanks a heap for that tip!

Peace,
Tony
DM
dave_milbut
Jan 31, 2004
here’s a direct link to the validator:

<http://validator.w3.org/>
Y
YrbkMgr
Jan 31, 2004
Yeah, now if I could only understand what the flock they’re saying. <grin>.
DM
dave_milbut
Jan 31, 2004
They’re saying "There’s no way in hell your code is going to validate here, so just forget it and move on." 🙂

hth, hand,
dave
L
liquidgoodness
Feb 1, 2004
wow,

6 replies! 🙂 thanks for all the advise guys.

i’m really pretty much a noob to this. i taught
myself html years ago, and am decent with it, but
lately i’ve just used code that’s generated by
imageready. i assume adobe knows what it’s doing,
so i don’t really bother to check it in detail.

thought the problem was likely something quite simple that i just did not know about, regarding how IE and netscape react to flash differently.

will go and use that validator you recommended.

thanks again.
L
liquidgoodness
Feb 1, 2004
Ok maybe I’m *not* decent at html, lol. There were
26 errors. Some were obvious stupid errors like
the extraneous end-html tag. But about half of them
I have no idea what they are talking about, even with
the explanation. I didn’t think auto-generated code
would be that bad. Others just make me go "huh?"

Line 496, column 12: an attribute value must be a literal unless it contains only name characters (explain…).
< font color=#998675 >

edit: spaces after/before <> added so it show up in message.

What? I do this all the time, and it works. I guess
I have a lot to learn.
L
LenHewitt
Feb 1, 2004
Liquid,

an attribute value must be a literal
unless it contains only name characters <<

Attributes should be in quotes as in <width="43"> and <font color="#998675">
L
liquidgoodness
Feb 1, 2004
Len, thanks.

I was taught that you only needed to use
quotes if for example, the color was "blue".

Live and learn.
DM
dave_milbut
Feb 1, 2004
technically you only NEED quotes when there’s a space in the attribute value… ie.

face="Comic Sans MS"

face=serif
RH
r_harvey
Feb 1, 2004
Or a funny character in the description, making it difficult to tell what’s a delimiter or separator.

color="#0000ff"

color=blue
DM
Don_McCahill
Feb 2, 2004
However, in XHTML, you do need to quote all attributes, among a few other modifications to the HTML rules. (And in case XHTML takes over from HTML, as planned, it is wise to adopt these rules now to save having to clean code later.)
RH
r_harvey
Feb 2, 2004
I’ve always entered tags in upper-case. It’s time to start entering them in lower-case.

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections