Scorllbar CSS is not working in firefox, and safari.....

Discussion in 'CSS' started by vivek.kumar@proteans.com, Feb 16, 2010.

  1. #1
    Scorllbar CSS is not working in firefox, and safari.....
    i am using this css.


    <div style="width: 50; height: 245px; overflow-y: Scroll; overflow: -moz-scrollbars-vertical;">

    //Table content here ///

    </div>

    <style type="text/css">
    body
    {
    scrollbar-base-color: #C1CBD7;
    scrollbar-arrow-color: #9DACBF;
    scrollbar-3dlight-color: #C1CBD7;
    scrollbar-darkshadow-color: #C1CBD7;
    scrollbar-face-color: #CCCCCC;
    scrollbar-highlight-color: #CCCCCC;
    scrollbar-shadow-color: #C1CBD7;
    scrollbar-track-color: #CCCCCC;
    }
    </style>



    Thx,
    Vivek
     
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    Those properties are proprietary and non-standard. They only work in IE and something like Konqueror. Nowhere else.
     
    drhowarddrfine, Feb 16, 2010 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Yeah, that's a "My IE specific properties don't work anywhere but IE" complaint. Those are NOT in the CSS specification, and only work in IE and Opera. (Yes, they work in Opera)

    Kind of like that silly -moz property being gecko only.
     
    deathshadow, Feb 20, 2010 IP