View Full Version : publishing FLA doesn't produce validate HTML
Flash Gordon
06-01-2005, 03:42 AM
Has anyone ever tried to validate their html after publishing an FLA using http://validator.w3.org/ ? If so, do you get a message saying your html is not valid? Well, what the heck MM Flash can't produce its own valid html page. I'm at a loss here.
Thanks
EDIT: according to the validator Macromedia has 92 errors on its page. :confused:
I wouldnt worry about the validator.....you want to have some fun, write a page with just the opening and closing HTML and Title tags....then validate it...mostly likely get errors on that too.
yep... flash makes crappy html. it doesn't and won't validate.... but there are some work arounds.
here is a start: http://www.alistapart.com/articles/flashsatay/
Flash Gordon
06-01-2005, 05:13 PM
urgh...what a pain in the butt? but thanks tg. Out of coursity, how much of a "no no" is it to have non-valid html?
petefs
06-01-2005, 09:56 PM
When it comes to flash, it's not really a no-no. Either the w3c will approve the embed tag some day or all browsers will continue to not puke at all over the embed tag. The satay method, IMHO, is more of a neat trick for OCD developers (I'm guilty of that sometimes too, so nobody take offense). I love seeing the green checkbox from my tidy plugin on my pages, but not that much : )
Producing valid HTML in general, however, is something you should strive for. I think the embed thing is silly, but writing valid (and even semantic!) markup is something everybody should get used to.
Flash Gordon
06-01-2005, 09:58 PM
Kind of a side note, I just update one of my website and all of its code is now valid. I have noticed that it runs faster now with less unexpected problems.
now with less unexpected problems.
which is the whole purpose of using standards in your code (you get rid of the problems). i try to make all of my code Strict (except flash content pages)
Flash Gordon
06-02-2005, 12:36 AM
but that flash things with validation drives me up the wall. I hope they fix it in FP 8.
but that flash things with validation drives me up the wall. I hope they fix it in FP 8.
that would be nice...
Yo Pete.....where you been??????
Flash Gordon
06-04-2005, 03:47 AM
Okay, I used tables a lot to place objects and text where i want them. But when i validate I get messages like this:
there is no attribute "HEIGHT"
there is no attribute "BACKGROUND"
there is no attribute "ONLOAD"
This page is not Valid HTML 4.01 Transitional!
Well, then how am I suppose to specify the height of a table and the image that should be placed in the background? Dreamweaver 2004 is giving me that code it self.
Well, then how am I suppose to specify the height of a table and the image that should be placed in the background? Dreamweaver 2004 is giving me that code it self.
thats cause mm doesn't make standards based software... they are working on stuff thats easy to use.
you might want to look into css positioning, if your realy intent on writing valid/standards based code. it can cause some problems/delemas also, but is generally fun to tweek and figure out.
also, you might try manipulating your table in your css file, instead of your html. for me, i don't use tables, unless i am displaying tabular data.... but i'm kinda weird anyway.
Flash Gordon
06-13-2005, 07:15 AM
you might want to look into css positioning, if your realy intent on writing valid/standards based code. it can cause some problems/delemas also, but is generally fun to tweek and figure out.
also, you might try manipulating your table in your css file, instead of your html. for me, i don't use tables, unless i am displaying tabular data.... but i'm kinda weird anyway.Do you have an example (perhaps a site maybe) that uses css to format a table(like the BG image and heigth)? Also, what css "tag" format tables? "Body" takes care of font color/size BG image/color etc, but what takes care of the table formating.
Thanks tg (or whoever answers).
FG
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.