|
Posted by Jonathan N. Little on 11/06/05 18:46
miguelco01blue@gmail.com wrote:
> here is the code:
>
> <table width="266" height="263" border="1" cellpadding="1"
> cellspacing="0" bordercolor="#FF0066">
> <tr>
> <th colspan="8" scope="col"> </th>
> </tr>
> <tr>
> <th colspan="4" scope="row"> </th>
> <td colspan="4"> </td>
> </tr>
> <tr>
> <th colspan="8" scope="row"> </th>
> </tr>
> </table>
>
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; }
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|