/    Sign up×
Community /Pin to ProfileBookmark

Table borders on the inside of tables.

Err OK I’m working through my style document as I need it. Here is it so far.

[QUOTE]

body {

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

font-size: 11pt;

color: black;

}

table {

border-style: groove;

border-width: 3px;

}

img {

border-width: 0;

}

[/QUOTE]

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?

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@Mr_JJul 29.2005 — Try

td {

border-style: groove;

border-width: 3px;

border-color:blue;

}

or

td{

border:3px solid blue

}
Copy linkTweet thisAlerts:
@Sceptile_MasterauthorJul 29.2005 — Will that work?

*checks*

Nope, I didn't think so. Thanks anyways.
Copy linkTweet thisAlerts:
@toicontienJul 29.2005 — 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?
Copy linkTweet thisAlerts:
@NogDogJul 29.2005 — <i>
</i>table {
border-collapse: collapse;
}
table, th, td {
border-style: groove;
border-width: 3px;
}
Copy linkTweet thisAlerts:
@Mr_JJul 29.2005 — Will that work?

*checks*

Nope, I didn't think so. Thanks anyways.[/QUOTE]


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 ?

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

Success!

Help @Sceptile_Master spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...