Jump to content

Html needing help


lemonpi
 Share

Recommended Posts

Important: You cannot use the <body></body> tags together with the <frameset></frameset> tags!

<html><frameset cols="20%,80%"><frame src="menu.htm" name="S"><frame src="main.htm" name="T"></frameset></html>

Link to comment
Share on other sites

Indeed. The frameset section should go in the head part of the page, to tell the browser that it needs to divide up the window prior to applying the content, which would be in the body tag.So you'd need to have it something like this:

<html> <head>      <FRAMESET COLS="20%,80%">      <FRAME SRC="menu.htm" name=S>      <FRAME SRC="main.htm" name=T>      </FRAMESET>   </head>   <body bgcolor="#333333">      blahblahblah   </body></html>

Link to comment
Share on other sites

Indeed. The frameset section should go in the head part of the page, to tell the browser that it needs to divide up the window prior to applying the content, which would be in the body tag.So you'd need to have it something like this:
<html> <head>      <FRAMESET COLS="20%,80%">      <FRAME SRC="menu.htm" name=S>      <FRAME SRC="main.htm" name=T>      </FRAMESET>   </head>   <body bgcolor="#333333">      blahblahblah   </body></html>

sorry, but no, thats not correct.the frameset is used instead of the body. :)
Link to comment
Share on other sites

let me rewrite it for you

<html> <head>  <body bgcolor="#333333">   <FRAMESET COLS="20%,80%">    <FRAME SRC="menu.htm" name=S>      <FRAME SRC="main.htm" name=T>     </FRAMESET>    </head>     <font color="white">         <p>    blahblahblah    <p>    </font>  </body></html>

Link to comment
Share on other sites

Frameset is independent of head and body tags.Still u can use head to display ur title on title bar.Frameset is to divide the browser's screen into more than one frames.There is no use of body tag to display any thing.

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
 Share

×
×
  • Create New...