Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Member themayanlion's Avatar
    Join Date
    Mar 2005
    Posts
    40
    Member #
    9225
    Hello, this is my first post here.

    You know, i am probably overlooking something irdiculous here, but it's 4 in the morning here, and i have no idea why some code of mine is not validating.

    here is the code in question:

    Code:
    <object data="homePage.swf" type="application/x-shockwave-flash" width="1012" height="545">
    <param name="movie" value="homePage.swf" /></object>
    the error i'm getting (the only one) using a XHTML Strict DTD is this:
    Line 53, column 90: document type does not allow element "object" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "address", "fieldset", "ins", "del" start-tag

    ...wave-flash" width="1012" height="545">


    it points to the closing tag as the problem.
    here's the link
    http://validator.w3.org/check?verbos...om/studio.html

    it validates with XHTML Transitional, but i would like it to validate with Strict, and maybe i'm just blind or new to standards, but i don't see a reason why it isn't.

    visit http://www.freethinkersmovement.com/studio.html for the source code. i thought maybe the javascript was affecting it, but even with just the object code i posted above, i get the same error.

    again, i apologize if this the solution is just some oversight i am failing to recognize.

    thanks!

  2.  

  3. #2
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081

  4. #3
    Member themayanlion's Avatar
    Join Date
    Mar 2005
    Posts
    40
    Member #
    9225
    Thank you for responding. the method i used is called teh Javay method, which i actually found in the comments for the Satay article. It's an alternative to the Satay method which compensates for some IE issues with plug in sniffing.

    http://www.alistapart.com/discuss/flashsatay/26/#c6331

    in any case, i created another page using the Satay method anyway, just to make sure, and it comes up with the same error. again, this only happens with an XHTML Strict DTD, Transitional works fine.

    here is the page using the Satay method http://freethinkersmovement.com/strict.html

    validating it still comes up with the same error.

    of course, it is not immediately imperative for me to stick to XHTML Strict. I can make all my stuff Transistional, but it's more of a personal thing for me, to be able to write completely compliant sites.

    i thought maybe the problem was that i messed up the doctype, but even just copy/pasting from the w3c site did teh same thing.

    here is a link to teh exact same code with a XHTML Transitional DTD, where it validates http://freethinkersmovement.com/transitional.html

    i guess i'm more just curious about why strict isn't recognizing the object tag the same way transitional does.

    thanks again!

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Maybe try wrapping in a block-level tag like <div>?
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  6. #5
    Member themayanlion's Avatar
    Join Date
    Mar 2005
    Posts
    40
    Member #
    9225
    well i'll be.

    it worked!

    i had actually tried it before, but of course i put the div tags in the wrong place. thanks so much!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

object tag validation

Click on a term to search for related topics.
All times are GMT -6. The time now is 04:27 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com