.contentslide{ border: 2px solid navy; border-bottom-width: 2px; padding: 2px; width: auto; height: auto; text-align:center; } .contentslide .contentdiv{ display: none; } .pagination{ width: auto; /*Width of pagination DIV. To equal that of Content Slider's width, take into account the later's left/right paddings!*/ background-color: navy; border: 2px solid navy; border-width: 0 10px; /*Left/ right border width of pagination DIV.*/ padding: 4px 0 4px 0; text-align:center; } * html .pagination{ /*Simplified box model hack to get IE5 to display width equal to that of Content Slider's*/ width: 900px; /*IE5 width*/ w\idth: 900px; /*IE6 width*/ } .pagination a{ padding: 0 5px; text-decoration: none; color: #2e6ab1; background-color: white; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin-right: 1px; margin-left: 1px; height:20px; width:50px; } .pagination a:hover, .pagination a.selected{ color: #000; background-color: #FEE496; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; } .ref a{ padding: 0 5px; text-decoration: none; color: #2e6ab1; background-color: white; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; margin-right: 1px; margin-left: 1px; height:20px; width:50px; } .ref a:hover, .pagination a.selected{ color: #000; background-color: #FEE496; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; } .titulo{ font-size:18px; font-family:Verdana, Arial, Helvetica, sans-serif; background-color:#999999; color:navy; }