borders around tables question

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



 Subscribe in a reader

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

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Dec 28th, 2007, 09:48
New Member
Join Date: Dec 2007
Location: Byron bay
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question borders around tables question

I am trying to add a border to a table which has 2 table rows one containing a graphic and the second row containing a nested table. Whenever i specify border=1 it puts a border around the main table and also around the first row. I only want the border around the outside of the main table. can anyone tell me why this happening and what i can do to rectify it.
many thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 28th, 2007, 09:59
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: borders around tables question

Instead of using the border attribue, use CSS.

In the head of your document add

Code: Select all
<style type="text/css">
table
{
           border: solid 1px #000000;
}
</style>
or you can use and inline style declaration

style="border: solid 1px #000000"
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Dec 28th, 2007, 19:51
New Member
Join Date: Dec 2007
Location: Byron bay
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: borders around tables question

Hi there, thank you so much for your reply. I am still experiencing my original problem even when using what you told me. Could this be a dreamweaver issue? can i show you what I mean by directing you to the page?
www.meemoh.net/page1 has the border
www.meemoh.net/page2 has no border attribute
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Dec 28th, 2007, 19:53
New Member
Join Date: Dec 2007
Location: Byron bay
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: borders around tables question

this is the code for the graphic..
<td width="922" height="148"><div align="center"><img src="images/homeBanner.gif" width="922" height="148" border="0"></div></td>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Dec 28th, 2007, 20:11
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: borders around tables question

Pages not found!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Dec 28th, 2007, 21:09
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: borders around tables question

Linda, I think he meant:
- www.meemoh.net/page1.htm
- www.meemoh.net/page2.htm

Missing the .htm
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Dec 29th, 2007, 02:49
New Member
Join Date: Dec 2007
Location: Byron bay
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: borders around tables question

oops, sorry bout that. i did forget the .htm bit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Dec 29th, 2007, 08:34
New Member
Join Date: Dec 2007
Location: India
Age: 30
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: borders around tables question

use css style sheet go to some site on internet

Last edited by Rakuli; Dec 29th, 2007 at 08:44. Reason: No Wesbites in signatures until you have 10 posts - thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

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
tables..borders- getting them to line up? lockmac Web Page Design 10 Feb 24th, 2008 12:12
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
Overlay two borders Gwayn Web Page Design 4 Feb 1st, 2006 18:19
borders benbacardi Web Page Design 2 Jun 4th, 2004 15:39


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


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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