Table borders on the inside of tables.

admin

Administrator
Staff member
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?Try

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

or

td{
border:3px solid blue
}Will that work?

*checks*

Nope, I didn't think so. Thanks anyways.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?table {
border-collapse: collapse;
}
table, th, td {
border-style: groove;
border-width: 3px;
}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
 
Back
Top