Click to See Complete Forum and Search --> : Table borders on the inside of tables.


Sceptile_Master
07-29-2005, 08:02 AM
Err OK I'm working through my style document as I need it. Here is it so far.

body {

font-family: tahoma, arial, helvetica, sans-serif;

font-size: 11pt;

color: black;

}

table {

border-style: groove;

border-width: 3px;

}

img {

border-width: 0;

}

It's all good except for my tables it only borders the outside and the inside is left with no border. What am I missing here to make my tables have borders on the inside too?

Mr J
07-29-2005, 08:13 AM
Try

td {
border-style: groove;
border-width: 3px;
border-color:blue;
}

or

td{
border:3px solid blue
}

Sceptile_Master
07-29-2005, 09:25 AM
Will that work?

*checks*

Nope, I didn't think so. Thanks anyways.

toicontien
07-29-2005, 11:35 AM
Unless your document has HTML errors, that will work. You apply the border to the <td> tags. Can you post a link to the page in question, or all relevant HTML and CSS?

NogDog
07-29-2005, 01:04 PM
table {
border-collapse: collapse;
}
table, th, td {
border-style: groove;
border-width: 3px;
}

Mr J
07-29-2005, 01:09 PM
Will that work?

*checks*

Nope, I didn't think so. Thanks anyways.

I don't know wether to take that as an arrogant reply or a sarcastic reply but do you seriously think that we'd waste time posting things that didn't work :confused:

It just may not produce the effect you are after but it does work