﻿/* 
    root element for the scrollable. 
    when scrolling occurs this element stays still. 
*/ 
#scrollerDiv { position:absolute; background-image:url(/images/scroller-mask.png); width:948px; height:304px; display:block; z-index:500; }

#leftArrow, #rightArrow { background-image:url(/images/left-arrow.png); width:39px; height:67px; display:block; text-indent:-10000px; position:absolute; top:112px; left:-50px;  }
    #rightArrow { background-image:url(/images/right-arrow.png); top:112px; left:970px; }
    
 
    
div.scrollable {  
    /* required settings */ 
    position:relative; 
    overflow:hidden; 
    width: 948px; 
    height:304px; 
} 
 
/* 
    root element for scrollable items. Must be absolutely positioned 
    and it should have a extremely large width to accomodate scrollable items. 
    it's enough that you set width and height for the root element and 
    not for this element. 
*/ 
div.scrollable div.items { 
    /* this cannot be too large */ 
    width:8532px; 
    position:absolute; 
} 
 
/* 
    a single item. must be floated in horizontal scrolling. 
    typically, this element is the one that *you* will style 
    the most. 
*/ 
div.scrollable div.items div { 
    float:left; 
} 
 
/* you may want to setup some decorations to active the item */ 
div.items div.active { 
    border:1px inset #ccc; 
    background-color:#fff; 
}






/* smaller scroller */

div.scrollable1 {  
    /* required settings */ 
    position:relative; 
    overflow:hidden; 
    width: 350px; 
    height:232px; 
} 
 
/* 
    root element for scrollable items. Must be absolutely positioned 
    and it should have a extremely large width to accomodate scrollable items. 
    it's enough that you set width and height for the root element and 
    not for this element. 
*/ 
div.scrollable1 div.items { 
    /* this cannot be too large */ 
    width:8532px; 
    position:absolute; 
} 
 
/* 
    a single item. must be floated in horizontal scrolling. 
    typically, this element is the one that *you* will style 
    the most. 
*/ 
div.scrollable1 div.items div { 
    float:left; 
} 