|
Posted by Jonathan N. Little on 11/07/05 02:23
dorayme wrote:
>>From: "Jonathan N. Little" <lws4art@centralva.net>
<snip>
>>That's because there really isn't an attribute 'bordercolor' for the
>>table element:
>>
>>Tables in HTML documents
>>http://www.w3.org/TR/html4/struct/tables.html#edef-TABLE
>>
>>Try styling it with CSS, For just the TABLE element
>>
>>TABLE { border: 1px solid #FF0066 }
>>
>>If you want the cell borders the same then:
>>
>>TABLE, TH, TD { border: 1px solid #FF0066 }
>>
>>Yes, you can have a different border surrounding the table than its
>>internal cells:
>>
>>TABLE { border: 3px outset blue; }
>>TH, TD { border: 3px solid red; }
>>
>
>
> Strikes me that maybe another way to go for the OP is to have no
> border at all on the table itself, just td borders, something I
> do myself quite often. With or without cell spacing (done either
> css or cellspacing ="#" in the <table...>. The OP can adapt your
> good sounding advice to the td if he wants?
>
Sure!
TABLE { border: 0; border-collapse: separate; border-spacing: 15px; }
TH, TD { border: 3px inset #ffd700; }
Like rows of little framed paintings ;-)
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|