height of div dynamically and scroll bar's color

Discussion in 'CSS' started by learnerabn, Aug 17, 2010.

  1. #1
    hi all,

    I want to change the div height dynamically.
    Temporarily i given scroll bar for that.
    And i want to change the scroll bar's color.
    i tired with
    body {scrollbar-base-color:#369;}
    but not working.
    can any one help me?

    Thanks in advance.
     
    learnerabn, Aug 17, 2010 IP
  2. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #2
    CSM, Aug 17, 2010 IP
  3. learnerabn

    learnerabn Peon

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks,
    but still div height not working.
    It gone disappeared.
     
    learnerabn, Aug 18, 2010 IP
  4. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #4
    Yeah, ofcourse it disappears ...

    You could use min-height: xx% or min-height: xxpx instead too.
     
    CSM, Aug 18, 2010 IP