How do I add a solid vertical border to my page??

Hi,

I am designing a web page in FrontPage using a simple paragraph (text) format without frames or tables (this is my first page design and I want to keep it simple!).  My question is this:

How do I add a thick vertical stripe down both sides of the page, top to bottom, with my text appearing betwen them (I think this is referred to as 'shared borders')?  I want the vertical stripes (borders) to be, say, dark green, while my background color underneath my text is white.

Thanks in advance!

Ted  
trcampAsked:
Who is Participating?
 
AvocadoIsleConnect With a Mentor Commented:
Here is an example of what you are looking for using a table.  Note that the width of the sides is set to 40 pixels but you could change it to whatever works best for you:

<html>
<head>
<title>Your page titel</title>
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<table border="0" width="100%" height="100%">
  <tr>
    <td width="40" bgcolor="#008000">&nbsp;</td>
    <td align="center">your content goes here</td>
    <td width="40" bgcolor="#008000">&nbsp;</td>
  </tr>
</table>
</body>
</html>
0
 
ClassyLinksCommented:
The easiest way is to use tables.

Shared borders is usually for navigation or other include files which you want to appear on several pages of your site.  You could however make a 1 cell table in your left and right shared border and try it that way.
0
 
trcampAuthor Commented:
It seems there are three things you could be suggesting...

1)  Are you suggesting a three cell table with the outside two cells narrow and colored (if so, how would I color only the outside cells?)?   Or 2) are you suggesting three one-celled tables, the inside one containing my text, and the outside two being narrow and colored?  Or 3) are you suggesting that you i can add the vertical stripes onto a single one-celled table?  (if so, how do i do that?)  

I have experimented with the table approach a little, but with no success yet...which is why I'm *here*!  :)  Thanks, Ted
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
ClassyLinksCommented:
AvocadoIsle has illustrated what I was suggesting for the table layout.

I've been experimenting with the shared borders idea....
it won't work easily.

Alternately, frames would work too, but they are harder to implement for someone not familiar with them.  Personally, I avoid frames wherever possible, I would stick with the tables.
0
 
trcampAuthor Commented:
Thanks to you both.  Avocadolsle, your answer was the most complete and worked perfectly, so I'll award you the points.  I really appreciate the help.  Ted

0
 
AvocadoIsleCommented:
Glad to be of help :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.