NYCPHP Meetup

NYPHP.org

[nycphp-talk] Lame HTML Question

Eliot Shepard eliot.shepard at the451.com
Thu Jul 11 12:01:07 EDT 2002


According to the MSDN IE DOM reference:

http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/bor
dercolor_1.asp

The attribute is BORDERCOLOR.

<TABLE BORDERCOLOR = sColor... >

General URL for this reference:

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml
/reference/dhtmlrefs.asp?frame=true

Incidentally, a good trick for a colored border is to use a cellspacing
> 0 and a tablewide bgcolor. Then set the rows to white (or whatever.)

<table border=0 cellpadding=0 cellspacing=1 bgcolor=#0000ff>
<tr bgcolor=#ffffff>
    ...
</tr>
</table>

I use this effect a lot in my apps.

Eliot

----- Original Message -----
From: "Hans Zaunere" <zaunere at yahoo.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Thursday, July 11, 2002 11:49 AM
Subject: [nycphp-talk] Lame HTML Question


>
> Is it possible to specify a color for a table's border?  If so, could
> someone give a quick example.
>
> OK, shoot me,
>
> HZ
>
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com




More information about the talk mailing list