HTML


"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

HTML Frames Screen Layout


Register / Login

Register to post on our forums and use our advanced features.
User Name:          Password:   
 
  • Learn about HTML frames
  • Complete HTML frames tags list
  • Get help putting HTML frames on your web site

Making just columns or rows is very simple with frames. Making something more complicated is a little more difficult. Difficult to understand at first, but easy later, that is. This is called nesting frames.

Here is an example

<frameset rows=*,97>
<frame src="index2.htm" name="Large">
<frameset cols=*,*>
<frame src="nav.htm" name="Navbar">
<frame src="nav2.htm" name="Navbar2">
</frameset>
<noframes>
- Your backup page for non frames-capable browsers -
</noframes>
</frameset>

Remember to put in the backup <noframes> tags for the non frames capable browsers.

This would look exactly like the one before, just that it would have the bottom row split into two different frames.

Conclusion

Personally, I don't like frames and they are a pain to do, but if you like them, then that's your business. Here are some things to remember while making frames pages.

  • People don't like to have to scroll through more than one frame on a page; keep your navigation bar small enough that someone with a small screen resolution won't have to scroll (or just use the scrolling=no option...)

  • Remember to target your links when using frames:

    • When linking from your navigation frame, target to the main frame

    • When linking to pages or sites that are not yours, the target should be "_top" to get rid of your frames

  • Don't use too many frames on your page; it clutters it up

  • Be creative; don't just copy someone else's configuration of frames.

  • If you don't want to; don't make your page have frames. It is not necessary

Back to the HTML frames menu.

 
Google Web ahfb2000   
 

Web Hosting


Price      
Space    
Transfer 
Platform 

Domain Names




Courtesy of
onestopdomains.com

PHP Scripts


  


About us  Advertise  Contact us  Privacy  Sitemap

Copyright © 1999 - 2007 Advanced HTML For Beginners and AHFB2000, All rights reserved.
Find out more about isphost.org and why you should avoid them at all cost.