Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Borders

Status
Not open for further replies.

Azarey

Programmer
Aug 17, 2001
7
0
0
JM
I'd like to find out how to add borders around a specific area on a webpage. For example, the left and right columns at
Thanks
 
Hi there.....

Here's the secret:

It'done with tables, one 2pixels wider then the other. Like this:
<table width=&quot;90&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bgcolor=&quot;#333333&quot;>
<tr>
<td> </td>
</tr>
<tr>
<td>
<table width=&quot;88&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bgcolor=&quot;#ffffff&quot; align=&quot;center&quot;>
<tr>
<td>
<p> </p>
<p> </p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>

Now you know!

Quasibobo *** Don't eat yellow snow! ***
 
You can also do it like this.

<p style=&quot;border: 1px solid; padding:10;&quot;>
This is the paragraph.
</p>

Rick
 
I was only showing how Amazon works! Usually I use ristmo2001's way.

Quasibobo *** Don't eat yellow snow! ***
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top