#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    112
    Rep Power
    11

    validating css stylesheet with w3org


    my css file contains


    scrollbar-base-color: #454646; and some other elements to customize the scrollbars. when validating I get told that that is not valid css. is there another method to customize the scrollabrs and create valid css?
  2. #2
  3. Über nübe
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Babylon 4
    Posts
    240
    Rep Power
    11
    I thought that was IE only.
    Hello, old friend...
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    112
    Rep Power
    11
    ooops

    anyway I found a way - I am using an iframe and i wanted to color the scrollbars that appear in my page with the colors i use on my page. i cut out the scrollbars lines from my css file and added it locally to the page that is loaded in the iframe. so the page is still valid xhtml/css also the page from the iframe is not

    thx
  6. #4
  7. Big Daddy
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Sep 2003
    Location
    Boston
    Posts
    1,473
    Rep Power
    36
    Yeah, to the best of my knowledge, all the css scrollbar styling stuff is IE only, and the w3c does not allow it (as far as validation, anyway).

    Chris
    Pop, pop, fizz, fizz, oh what a relief it is!
  8. #5
  9. |<.+#f@#+.&.|
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Mar 2002
    Location
    norway
    Posts
    3,009
    Rep Power
    1224
    you should avoid using css extensions or browser specific "css"

    and aslong as the extensions doesn't comform to w3's naming policy you shouldn't use them.
    http://www.w3.org/TR/CSS21/syndata.html#q4

    don't promote mangled code.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    112
    Rep Power
    11
    thx for the info

    anyway its only a small glitch. i have only one page where i use an irfame and that iframe has to have scrollbars. and the standard white scrollbars do not fit in my design, so i will have a page (the one used inside the iframe that is not css validated.

    i will just have to live with that.

IMN logo majestic logo threadwatch logo seochat tools logo