table with CSS borders

This is a discussion on "table with CSS borders" within the Web Page Design section. This forum, and the thread "table with CSS borders are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 18th, 2005, 22:08
Junior Member
Join Date: May 2005
Location: Birnimgham
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
table with CSS 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...

  #2 (permalink)  
Old May 19th, 2005, 16:02
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
table cell borders don't show unless you have some content in the cell. try adding

into the cell, if you want to leave it blank
  #3 (permalink)  
Old May 19th, 2005, 16:59
Junior Member
Join Date: May 2005
Location: Birnimgham
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Hi,

Brilliant, so simple...many thanks...

While I am here, you wouldn;t happen to know how I would move the table in a couple of pixals and down....and maybe separate the three cells?

IF I should be asking separate questions I do apologise
  #4 (permalink)  
Old May 19th, 2005, 17:13
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
if you want it like the images in the link above, remove the class="borders" from the <table> tag, and change the class="td1" in the <td> tags to class="borders". then just change the cellspacing="0" in the <table> tag to cellspacing="2" or however big you want the gaps
Closed Thread

Tags
table, css, borders

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
images as borders fuzzee Web Page Design 5 Jun 26th, 2007 12:08
Help with div borders in FF, please? Donny Bahama Web Page Design 12 Apr 10th, 2007 20:09
Tables and 1px borders? Perad Web Page Design 3 Dec 9th, 2006 19:34
Table help with borders of cells... andrewsco Web Page Design 2 Jun 21st, 2006 22:10
borders benbacardi Web Page Design 2 Jun 4th, 2004 15:39


All times are GMT. The time now is 19:01.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43