Log In · Register

 
bordercolor attribute validation, help!
nackchoon
post 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 laugh.gif
 
 
Start new topic
Replies
*mipadi*
post 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.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: