bordercolor attribute validation, help! |
bordercolor attribute validation, help! |
Dec 30 2005, 06:54 PM
Post
#1
|
|
![]() Me. Me. Me... ...? ![]() ![]() ![]() Group: Member Posts: 57 Joined: Jun 2004 Member No: 25,177 |
While validating my pages that are in XHTML, it turns out that the attribute "bordercolor" for "table" is unacceptable. It claims that I could do it by using CSS, but I just can't! I tried using border-color in CSS, but when I applied it to the table, I only got one border around the whole entire table, instead of each cells.
Any help...? ^-^ Thank you in advance |
|
|
|
![]() |
| *mipadi* |
Dec 30 2005, 07:17 PM
Post
#2
|
|
Guest |
bordercolor is not a valid attribute. Ue the "border" property of CSS. You have to screw around with it a bit and set the borders for TABLE, TD, TR, and other table-related tags.
If your table is for page layout, though, you should use CSS to lay it out. Tables are only for the display of tabular data. |
|
|
|
nackchoon bordercolor attribute validation Dec 30 2005, 06:54 PM
fishcake-y Errr.... Can't you just apply the border prope... Dec 30 2005, 06:58 PM
nackchoon Well actually, not really..
what happened was that... Dec 30 2005, 07:15 PM
fishcake-y You just used the boder-color property by itself? ... Dec 30 2005, 07:25 PM
nackchoon like...
table { border-color: color; }
td { borde... Dec 30 2005, 07:25 PM
nackchoon Oh!! I got it to work!! ^-^
lol;; ... Dec 30 2005, 07:28 PM
fishcake-y Meh. Don't double-post, the edit button has a ... Dec 30 2005, 07:30 PM![]() ![]() |