Results 1 to 3 of 3

Thread: W3 errors

  1. #1
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default W3 errors

    I need a dynamic iframe and i found that here-
    http://www.dynamicdrive.com/dynamici...iframessi2.htm.
    but in the validation w3 says

    there is no attribute "id".

    <iframe id='myframe' src='Home/SHome.html' scrolling='no' width='100%'"></ifra…

    an attribute specification must start with a name or name token.

    …c='Home/SHome.html' scrolling='no' width='100%'"></iframe>

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    What doctype are you using? Please provide a link to your page.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    iFrame isn't valid under many DOCTYPES, use:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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