By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,855 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

HTML: Table Borders

P: n/a
How do I get rid of a table border?

This is more a HTML question but I recon some one here would know.

I have used a table in the design of my page, I have a top logo, but it
has a line that heads down the side of the page.

So I have cut up the two and got my title across the top and a cell on
the side with this line in it. I have set table border=0, but I still
have a line (the color of the background of the table) about a pixel
high between the top pic and the side. Is there a way to get rid of this?

I have turn on the background colours on for each cell (to test if it is
a cell or a border) and there still seems to be this line inbetween so
it must be a border. Is there away to get rid of it?

I have checked my spelling on Border=0 by useing 0 and 1 and it works.

James.
Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
James Smith wrote:
How do I get rid of a table border?

This is more a HTML question but I recon some one here would know.

I have used a table in the design of my page, I have a top logo, but it
has a line that heads down the side of the page.

So I have cut up the two and got my title across the top and a cell on
the side with this line in it. I have set table border=0, but I still
have a line (the color of the background of the table) about a pixel
high between the top pic and the side. Is there a way to get rid of this?

I have turn on the background colours on for each cell (to test if it is
a cell or a border) and there still seems to be this line inbetween so
it must be a border. Is there away to get rid of it?

I have checked my spelling on Border=0 by useing 0 and 1 and it works.

James.


<TABLE ... BORDER=0 CELLPADDING=0 CELLSPACING=0> works

Greetings, Urs
Jul 17 '05 #2

P: n/a
James Smith schrieb:
How do I get rid of a table border?


With CSS:

table { border: none; }

Matthias
Jul 17 '05 #3

P: n/a
James Smith <jn******@optusnet.com.au> wrote in message
news:<40***********************@news.optusnet.com. au>...

How do I get rid of a table border?
<table border="0">
I have used a table in the design of my page, I have a top logo, but it
has a line that heads down the side of the page.

So I have cut up the two and got my title across the top and a cell on
the side with this line in it. I have set table border=0, but I still
have a line (the color of the background of the table) about a pixel
high between the top pic and the side. Is there a way to get rid of this?


<table border="0" cellspacing="0" cellpadding="0">

Cheers,
NC
Jul 17 '05 #4

P: n/a
Thanks for your help, it was the cell spacing and padding. I thought I
had tried it, obviously not in the right place.


James Smith wrote:
How do I get rid of a table border?

This is more a HTML question but I recon some one here would know.

I have used a table in the design of my page, I have a top logo, but
it has a line that heads down the side of the page.

So I have cut up the two and got my title across the top and a cell on
the side with this line in it. I have set table border=0, but I still
have a line (the color of the background of the table) about a pixel
high between the top pic and the side. Is there a way to get rid of this?

I have turn on the background colours on for each cell (to test if it
is a cell or a border) and there still seems to be this line inbetween
so it must be a border. Is there away to get rid of it?

I have checked my spelling on Border=0 by useing 0 and 1 and it works.

James.


Jul 17 '05 #5

P: n/a
On Wed, 30 Jun 2004 21:02:01 +1000, James Smith
<jn******@optusnet.com.au> calmly ranted:
Thanks for your help, it was the cell spacing and padding. I thought I
had tried it, obviously not in the right place.


James, I highly recommend Jennifer Niederst's "Web Design in a
Nutshell". It's currently in the second edition and is packed
full of absolutely necessary info.

It's much easier to program with PHP when you have the basics of
HTML down pat. (This from a 4-year PHP newbie.)
--
If you turn the United States on its side,
everything loose will fall to California.
--Frank Lloyd Wright

Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.