Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2001-07-01
6
Medium Priority
?
159 Views
Last Modified: 2013-12-24
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  
0
Comment
Question by:trcamp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6244581
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
 

Author Comment

by:trcamp
ID: 6244749
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
 
LVL 2

Accepted Solution

by:
AvocadoIsle earned 400 total points
ID: 6244774
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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6244825
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
 

Author Comment

by:trcamp
ID: 6246971
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
 
LVL 2

Expert Comment

by:AvocadoIsle
ID: 6248672
Glad to be of help :)
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question