/    Sign up×
Community /Pin to ProfileBookmark

How do i wrap a css border around two side by side TD’s without having a break in the middle? I need to wrap the TR with one border.

something like this

<tr class=trborder>
<td><img src=”whatever.jpg”></td>
<td>Click here</td>
</tr>

Cheers,
Brian

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@KDLANov 17.2006 — Make sure the margins of the <td> are set to zero. Or, use the border-collapse property (http://www.w3schools.com/css/pr_tab_border-collapse.asp) for the table.

KDLA
×

Success!

Help @docwisdom 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.17,
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,
)...