cell borders

G

Guest

How do I get rid of the cell borders in a table... I can get rid of the whole
border, but I want to keep the main table border and just get rid of the
internal lines - They are everywhere!! - even the layout lines seem to have a
border - its driving me insane!! - Please help me.
PS Ive tried collapse table - but to do that I have to turn off the layout
tools and I need them!
 
J

Jon Spivey

Hi,
Set the table to border = 0 then add some CSS
<style type="text/css">
table{
border: 1px solid red;
}
</style>
Change colour/width to suit
 
B

Bob

Hi,
Set the table to border = 0 then add some CSS
<style type="text/css">
table{
border: 1px solid red;
}
</style>
Change colour/width to suit

Or create an outer table with one cell, border on. Put a table inside
it with no borders to get your cell layout. Very backwards compatible.
 
G

Guest

Jon, thanks -
I tried your suggestion but it "turned off" table layout tools. - I am
working in frontpage 2003 and using the table layout tools as I am not
technically competent with html code (tho' I am learning a lot..fast!).

I don't understand why setting the table border in FP means every cell gets
a border... along with some of the grid lines (if you haven't got a cell on
top) - very irritating. - Yet, when I go to each individual cell and attempt
to turn the cell border "off" it ignores me... I CAN, however change the cell
border colours - but this makes the cells fatter (by the width of the border,
obviously).

Anyone got any other ideas??
 
J

Jim Carlock

Murray said:
Very 90's too. It's the wrong way to do this.

What's 90's to you?

Not that I see anything wrong with it, 90's to me...

<snip>
....
<style type="text/css">
table { border: 90px outset green; }
</style>
</head>
....
</snip>

I wonder what "90's" means.

Could you present an example of "90's"? And perhaps provide a
name of other element of the comparison (do you mean 1990's
style versus 2000's style and if so could you provide examples)?
<g>

Jim Carlock
Post replies to the newsgroup.
 
M

Murray

90's -

<table bgcolor="green" cellpadding="1"....
<tr>
<td><table>
<tr>
<td>the rest of your content here

Lots of extra markup *and* unnecessary use of tables.

!=90's

table.special { border:1px solid green; }
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top