-
Validating poliscarhire.com I get an error
Applying http://validator.w3.org to http://www.poliscarhire.com/ I get the error among others, well how to solve ?
Line 273, Column 18: there is no attribute "bordercolor".
<tr bordercolor="#000000" bgcolor="#CCCCCC" border="1">
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
-
-
bgcolor is deprecated.bordercolor on the other hand does'nt exist, must be a miracle behind the fact that it's working.
-
-

Originally Posted by
rangana
bordercolor on the other hand does'nt exist, must be a miracle behind the fact that it's working.
I doubt it works. Black is just the default color.
@leonidassavvides
The correct way (with CSS) to style the border color is this:
Code:
border-color:#000000;
-
-
what to do to apply border of table to table's all lines of cells vertical/horiz ? and if exist cell spacing to be a double border ? css do not seem to work ... although bordercolor attribute works ... on this.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks