Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-18-2005, 11:11 PM   PM User | #1
wood1e
New Coder

 
Join Date: Aug 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
wood1e is an unknown quantity at this point
css table borders

Hi,

I am trying to sort out three cells in a table to have borders, as I have on

http://www.unique-and-perfect-gift.com/test/aboutus.htm These are the cells in the centre of the page. THen problem is they are images, and I want to create a table with same colour borders...but when I try I get ...see below

http://www.unique-and-perfect-gift.c...t/aboutus1.htm any help would be greatly appreciated...
wood1e is offline   Reply With Quote
Old 05-19-2005, 12:33 AM   PM User | #2
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
add some content to your tds.

maybe something like:

Code:
.td1 { border-right: 3px double #990000; width: 160px; vertical-align: top;}
.td2 { width: 160px; vertical-align: top;}
.td3 { border-left: 3px double #990000; width: 160px; vertical-align: top;}
.td1 p, .td2 p, .td3 p {
margin: 0;
padding: 6px;
}
Code:
	   <table class="borders" width="487" height="300" cellpadding="0" cellspacing="0">
         <tr>
           <td class="td1"><p>a</p></td>
           <td class="td2"><p>b</p></td>
           <td class="td3"><p>c</p></td>
         </tr>
       </table>
harbingerOTV is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:32 AM.


Advertisement
Log in to turn off these ads.