SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2002
    Location
    USA, Earth
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Validator Questions

    I Run my CSS.css in teh validator (W3C) and it returned me this:

    [VBS]
    Line: 6 Context : BODY
    Property scrollbar-face-color doesn't exist : #3399cc

    Line: 7 Context : BODY
    Property scrollbar-highlight-color doesn't exist : #000000

    Line: 8 Context : BODY
    Property scrollbar-3dlight-color doesn't exist : #ffffff

    Line: 9 Context : BODY
    Property scrollbar-darkshadow-color doesn't exist : #000000

    Line: 10 Context : BODY
    Property scrollbar-shadow-color doesn't exist : #000000

    Line: 11 Context : BODY
    Property scrollbar-arrow-color doesn't exist : #ffffff

    Line: 12 Context : BODY
    Property scrollbar-track-color doesn't exist : #d0e4f0

    [/VBS]

    These CSS works fine for me, why it does not recognize it?


    Here is the full CSS.css file (it is NOT inline CSS)


    [VBS]BODY
    { background-color: #D0e4f0;
    color: #000000;
    font-family: "Arial, verdana, Times";
    margin: 0px;
    scrollbar-face-color: #3399CC;
    scrollbar-highlight-color: #000000;
    scrollbar-3dlight-color: #FFFFFF;
    scrollbar-darkshadow-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-arrow-color: #FFFFFF;
    scrollbar-track-color: #D0e4f0;}

    A:link { color: #333399 }
    A:visited { color: #000000 }
    A:active { color: #CC0000 }
    A:hover { color: #CC0000; }

    td.mainh
    { font-family: "Arial";
    font-weight: bold;
    font-size: 19px;
    color: #FFFFFF;
    text-decoration: none;
    background-image: url(pics/Bar.gif);
    background-color: #330099; }

    A.mainl:link { color: #FFFFFF; text-decoration: none; }
    A.mainl:visited { color: #FFFFFF; text-decoration: none; }
    A.mainl:active { color: #FFFFFF; text-decoration: none; }
    A.mainl:hover { color: #FFFFFF; text-decoration: underline overline; }


    td.s
    { font-size: 13.5px; }[/VBS]

  2. #2
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    All of the scrollbar properties are non-standard. They only work in IE, and they are not specified in the CSS standard, which is what you are validating your code against.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2002
    Location
    USA, Earth
    Posts
    69
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, I see now. Thanks a lot.


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
  •