Skip navigation
Currently Being Moderated

Dreamweaver CS3 scrolling text

Apr 24, 2013 9:41 AM

Hi. I'm out of practice and need to get back into things. I;m WAY rusty. I know I've done this before and can't figure this out for the life of me, please help. I need to make scrolling contect area on a non-scrolling background. Yes, I may be brain-dead... HELP please. Thank you!

 
Replies
  • Currently Being Moderated
    Apr 24, 2013 1:42 PM   in reply to GRAFXNTIME

    #divName {

    height:  100px;  /**adjust height as req'd**/

    overflow:scroll;

    }

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    May 16, 2013 1:19 PM   in reply to GRAFXNTIME

    The overflow: scroll property adds scrollbars to your container only if the height/width is not sufficient enough to reveal all the content inside.    To make scrollbars disappear,  increase the height/width of your container or remove the overflow:scroll property.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    May 16, 2013 1:52 PM   in reply to Nancy O.

    This is a good reference site to knock off some of the rust...

     

    http://www.w3schools.com/cssref/default.asp

     

    For individual control over the right or bottom scrollbars, you'd be looking for overflow-y and overflow-x respectively.

     
    |
    Mark as:
  • Currently Being Moderated
    May 16, 2013 4:22 PM   in reply to GRAFXNTIME

    Browsers decide what their scrollbars look like.  At one time, you could use proprietary code to dress up the default scrollbars in IE 5.5 and 6 but IE stopped supporting this. 

     

    AFAIK, webkit is the only browser that currently supports custom styled scrollbars with CSS.   All the rest will simply ignore it.

     

    The other option is to override the browser styles with JavaScript.  

    jQuery Custom Scrollbar plugins

    http://www.net-kit.com/jquery-custom-scrollbar-plugins/  

     

    That said, I think most people are comfortable with the scrollbars in their browsers.  Changing their appearance to suit your design objectives might be more distracting than beneficial.  The rule of thumb in web design is "respect your site visitor's choices and don't mess with people's browsers."

     

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points