Click here!

Upload    Contact    Home


R E S O U R C E S

HTMLStuff:

 
 
Home
Artist
Designer
Webmaster
Programmer
What's New
* Resources
 

 

 

Frames Tutorial Margin & Height

One of the last commands that we are going to cover is the <MARGINWIDTH> and <MARGINHEIGHT>. This is used mainly for frames containing images. It allows you to set a margin around the image. 1 is the minimum rate, but you may not notice unless you set the number higher. Both commands use pixels. This command it used with the <FRAME> command.

<HTML>
<HEAD><TITLE>This is the Control Page</TITLE></HEAD>
<FRAMESET COLS="*,*" >
<FRAMESET ROWS="*,50%">
<FRAME NAME="FRAME-1" MARGINWIDTH="10" MARGINHEIGHT="10"SRC="testone.html">
<FRAME NAME="FRAME-2" SRC="testtwo.html">
</FRAMESET>
<frameset rows="*,50%">
<FRAME NAME="FRAME-3" SRC="testthree.html">
<FRAME NAME="FRAME-4" SRC="testfour.html">
</FRAMESET>
</FRAMESET>
<NOFRAMES>
<BODY>
Your browser can't read frames - so you are out of luck! HAHAHAHAHAHA
</BODY>
</NOFRAMES>
</HTML>

 

As you can see it created a margin around both sides of the image.

Now it is time to wrap it up!

<<Back Next>>

Head on to:

Part 1: Introduction
Part 2: The Basic Structure
Part 3: No Borders and Scrolling
Part 4: No Frames
Part 5: Borders: Size and Color
Part 6: Links!
Part 7: Margin Width and Height
Part 8: IFrame and Conclusion
256 Color Hex Chart
HTML Command Reference


Back to Tutorial Menu
Back to Designer Main Page
Back To HTML Stuff Main Page

 

  News   Contact   Advertise   CD ROM   Search   Upload   Help   Home

Copyright © 2000 Tucows.Com Inc.
TUCOWS.Com Inc. has no liability for any content or goods on the TUCOWS site or the Internet, except as set forth in the terms and conditions and privacy statement.