/    Sign up×
Community /Pin to ProfileBookmark

how do i create tables like this

How do i create tables with thin single borders like on this page [url]http://www.hostquote.com[/url] When i try and do it i get 2 thin borders instead of 1

Here is my code for a my table –
<TABLE BORDER=1 bordercolor=”#000000″>
<TR>
<TD ALIGN=”center” bgcolor=”#990000″>My example</TD>
</TR>
<TR>
<TD ALIGN=”center” height=”181″>&nbsp;</TD>
</TR>
</TABLE>

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@simpson97Nov 15.2003 — This should point you in right direction:

<TABLE STYLE="border:1px brown solid">

<TR>

<TD ALIGN="center" bgcolor="#990000">My example</TD>

</TR>

<TR>

<TD ALIGN="center" height="181"> </TD>

</TR>

</TABLE>

Bob
Copy linkTweet thisAlerts:
@taneauthorNov 15.2003 — Thanks Bob that excellent - 1 other questions is there a way of making the top cell which is brown run flush against the black border instead of leaving a space ....
Copy linkTweet thisAlerts:
@Paul_JrNov 15.2003 — <i>
</i>&lt;table style="border:1px brown solid" [b]cellspacing="0"[/b]&gt;
&lt;tr&gt;
&lt;td align="center" bgcolor="#990000"&gt;My example&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align="center" height="181"&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
Copy linkTweet thisAlerts:
@taneauthorNov 16.2003 — thankyou...
Copy linkTweet thisAlerts:
@Paul_JrNov 16.2003 — You're welcome.
Copy linkTweet thisAlerts:
@pyroNov 16.2003 — &lt;div style="width: 80px; height: 200px; border: 1px solid #744a00;"&gt;
&lt;div style="background: #900;"&gt;My example&lt;/div&gt;
&lt;/div&gt;
And, since brown is not a valid preset color, I specified an appropriate hex value.
×

Success!

Help @tane 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.4,
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,
)...