scroll bars css

Out of context: Reply #1

  • Started
  • Last post
  • 12 Responses
  • mg330

    Could I suggest something better?

    Scrolling divs, and here's the code to do it:

    #header {
    position:absolute;
    top:100px;
    left:0px;
    width:266px;
    height:12px;
    padding:5px;
    border:1px solid #C4C8CC;
    background:url("images/recnewshe... no-repeat;
    }

    #scrollingsection{
    position:absolute;
    top:113px;
    left:0px;
    width:266px;
    height:100px;
    padding:5px;
    background-color:#F5F6EC;
    border:1px solid #C4C8CC;
    line-height:17px;
    overflow: auto;
    scrollbar-face-color: #ECECD8;
    scrollbar-highlight-color: #ECECD8;
    scrollbar-3dlight-color: #ECECD8;
    scrollbar-darkshadow-color: #D4CBA9;
    scrollbar-shadow-color: #ECECD8;
    scrollbar-arrow-color: #62BD19;
    scrollbar-track-color: #F4F6EC;
    }

    Change aspects to whatever you want.

    Make a div called header to use above the scrolling section, graphic or title or what have you.
    Use a div "scrollingsection" for the content you want to scroll.

    Points for incorporating ASP into that and pulling scrolling content from elsewhere. If you'd like that to, I can help you out.

View thread