Jump to content

Frame Problem (Index File)


Guest henryooi

Recommended Posts

Guest henryooi

<?xml version = "1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns = "http://www.w3.org/1999/xhtml"><head><title>The Seven Wonders of the Ancient World</title></head><frameset rows="118,*"> <frame src="./Pages/banner.html" name=banner scrolling=no noresize/> <frameset cols="150,*"> <frame src="./Pages/option.html" name=option scrolling=yes noresize/> <frame src="./Pages/main.html" name=link/></frameset></frameset></html>Hi there, I come out my index file using frame as above. However, I found when I scrow down (main.html), the banner remain there and I only can scrow the main.html page. I found the site like Yahoo Email, when we scrow down the whole page ie including banner and the option (button on the left hand site) will scrow up as well. Pls share with me how to do that in case you know the solution. Thanks!

Link to comment
Share on other sites

Put your banner in your main.html page...By the way, do not use XHTML if your page doesn't follow well-formed documents rules for XML (an example would be to have your attribute values quoted), and you should use the Frameset DTD in this case, not the Strict one, and when serving as text/html with .html extension, you have to follow some compatibility guidelines like not including the top xml declaration.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...