Click here!

Upload    Contact    Home


R E S O U R C E S

HTMLStuff:

 
 
Home
Artist
Designer
Webmaster
Programmer
What's New
* Resources
 

 

 

Frame Tutorial: Borders

Now it is time to put the borders back in. This time, however, we are going to make them larger and a different color. In order to do this we will use the <BORDER> and <BORDERCOLOR> commands.

 

<HTML>
<HEAD><TITLE>This is the Control Page</TITLE></HEAD>
<FRAMESET COLS="*,*" BORDER=30>
<FRAMESET ROWS="*,50%">
<FRAME SRC="testone.html">
<FRAME SRC="testtwo.html">
</FRAMESET>
<FRAMESET ROWS="*,50%">
<FRAME SRC="testthree.html">
<FRAME SRC="testfour.html">
</FRAMESET>
</FRAMESET>
<NOFRAMES>
<BODY>
Your browser can't read frames - so you are out of luck! HAHAHAHAHA
</BODY>
</NOFRAMES>
</HTML>

This sets the size for the all of the borders in the frame page. The larger the number, the larger the size of the border. Now, using the <BORDERCOLOR> command we will change the color of the borders. The color modifiers being used can be either from the hex chart or using the actual name of the color. The hex chart gives you a far greater range in your color choices then the word. However, we are going to use simple colors, so in this case we will be using the color red.

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

Now, if you want different borders to have different colors then just modify the proper <FRAMESET>

 
 

<HTML>
<HEAD><TITLE>This is the Control Page</TITLE></HEAD>
<FRAMESET COLS="*,*" BORDER=30 BORDERCOLOR="RED">
<FRAMESET ROWS="*,50%">
<FRAME SRC="testone.html">
<FRAME SRC="testtwo.html">
</FRAMESET>
<frameset rows="*,50%" BORDERCOLOR="BLUE">
<FRAME SRC="testthree.html">
<FRAME SRC="testfour.html">
</FRAMESET>
</FRAMESET>
<NOFRAMES>
<BODY>
Your browser can't read frames - so you are out of luck! HAHAHAHAHAHA
</BODY>
</NOFRAMES>
</HTML>

Well, it may look a bit odd, but it gets the point across! Now comes the real important part, links!

<<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.