/    Sign up×
Community /Pin to ProfileBookmark

putlines in a table…

How can i make a table with outlines. something like that:
[url]http://damianhagger.com/bio.php[/url]

I’m talking only about the lines of the TD’s and not the different colors for each TR.

Thanks!

to post a comment
CSS

8 Comments(s)

Copy linkTweet thisAlerts:
@PeOfEoJun 15.2004 — <td style="border:5px solid #ffffff">

like that I guess? That site you just saw more likely put a margin between each cell, But I am too lazy to look at their source.

<style type="text/css">

td {

margin:5px;

}

</style>

<table style="background-color:#fff">

<tr>

<td>

</td>

</tr>

<tr>

<td>

</td>

</tr>

<table>

try something like that.
Copy linkTweet thisAlerts:
@weeeauthorJun 15.2004 — ...?
Copy linkTweet thisAlerts:
@davidbrentJun 15.2004 — To put it simply. In your main table tags. Simply isert this code somewhere in the start tag.

[CODE]style="border: 8px solid #fff;[/CODE]

I.e you would end up with something like this:

[CODE]<table wdith="500" height="500" style="border: 8px solid #fff;">

<tr>
<td>
</td>
</tr>

</table>[/CODE]

I hope that helps.

Best Wishes,

David
Copy linkTweet thisAlerts:
@davidbrentJun 15.2004 — I have thought of another way you could accomplish your problem. This is yet to be tested by myself.

[CODE]
<div style="border: 8px solid #fff;">

<table>
table stuff blah blah blah
</table>

</div>
[/CODE]
Copy linkTweet thisAlerts:
@weeeauthorJun 15.2004 — figure something out...

Thanks guys!
Copy linkTweet thisAlerts:
@davidbrentJun 16.2004 — No problem. Just say if you have any other problems.


Best Wishes,

David
Copy linkTweet thisAlerts:
@ray326Jun 16.2004 — <style type="text/css">

table {

border-collapse: collapse;

}

td {

border: 1px solid #aaa;

}

</style>
Copy linkTweet thisAlerts:
@weeeauthorJun 16.2004 — simple and easy!
×

Success!

Help @weee 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 5.20,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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