Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Senior Coder
    Join Date
    Aug 2005
    Posts
    1,119
    Thanks
    2
    Thanked 1 Time in 1 Post

    EXTREMELY easy frameset issue

    This code, isn't working...

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "XHTML1-f.dtd" >
    <html xmlns="http://www.w3.org/TR/1999/REC-html-in-xml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    <frameset rows="200,*">
      <frame src="frame.php" />
      <frame src="http://www.thesavior.co.nr" />
    </frameset></body>
    </html>
    When i go to the page, nothing shows up. Is there a reason for this?

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,946
    Thanks
    0
    Thanked 236 Times in 233 Posts
    Remove the <body></body> tags. The frameset tag already serves as the body tag.

  • #3
    Senior Coder
    Join Date
    Aug 2005
    Posts
    1,119
    Thanks
    2
    Thanked 1 Time in 1 Post
    it works, thanks.

  • #4
    New Coder
    Join Date
    Dec 2005
    Location
    Soul city
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi,
    just a quick note:

    I know that most of the browsers support frame but to be on a safe side I would also use a noframes tag.

    Code:
    <noframes><body>
    Your browser doesn't support frames. Upgrade your browser.
    </body>
    </noframes>
    Regards,
    Soulfly

  • #5
    Senior Coder
    Join Date
    Aug 2005
    Posts
    1,119
    Thanks
    2
    Thanked 1 Time in 1 Post
    do you need the body tags on the noframe?

  • #6
    New Coder
    Join Date
    Dec 2005
    Location
    Soul city
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yeah,
    you need a body tag too to display texts on the browser that doesn't support frames.

    Regards,
    Soulfly


  •  

    Posting Permissions

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