Results 1 to 4 of 4

Thread: Validating poliscarhire.com I get an error

  1. #1
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default 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.

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    • bgcolor is deprecated.
    • bordercolor on the other hand does'nt exist, must be a miracle behind the fact that it's working.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Quote Originally Posted by rangana View Post
    • 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;

  4. #4
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •