![]() |
||
| |
|
|
|
|
|
|
HTML Frames tutorials - Part 2 Now that you understand what frames can do and what they are used for. Lets take a look at how to make one, and some examples. A Frame Document has a basic structure very much like your normal HTML document, except the BODY container is replaced by a FRAMESET container which describes the sub-HTML documents, or Frames, that will make up the page. Lets look at a piece of the HTML code. <HTML> That is the basic shell of frame code. Lets take a look at another piece of code a bit more complex. <HTML> Lets break the above code down a bit. <FRAMESET COLS="35,65"> This is specifying that the page will call 2 framed columns, one taking up 35% of the page, the other taking up 65%. <FRAME SRC="framemenu.html"> This calls a page named framemenu.html, that will be used for the first column, 35%. <FRAME SRC="news.html"> This calls a page named news.html, that will be used for the second column, 65%. You can break it down in any percentages you wish, however any totals over 100% and your users will have to scroll to view the rest of the content. Lets look at what this page looks like so far. Click here to check it out. |
|
||
|
© 2000-2004 IceHouse Designs, Inc. View Privacy Statement. |
||||