/* position:relative and overflow:hidden are required */
#scroller {position:relative; overflow:hidden; width:99%; border:1px solid #deebf7;}

/* add formatting for the scrolling text */
#tag {margin:2px 0; height:1.5em; padding: 0;}
#tag li {display:inline; padding: 0.25em 2em;}

/* display:none prevents the controls being shown when JavaScript is not present */
#controls { text-align:right; visibility:hidden;}

/* #testP must also contain all text-sizing properties of #tag */
#testP {visibility:hidden; position:absolute; white-space:nowrap;}

/* used as a page top marker and to limit width */
#top {width:100%; margin:auto}

.tickercontainer { /* the outer div with the black border */
	background: #fff; 
	width: 100%; 
	height: 27px; 
	margin: 0; 
	padding: 0
	overflow: hidden; 
	}
	.tickercontainer .mask { /* that serves as a mask. so you get a sort of padding both left and right */
	position: relative;
	left: 10px;
	top: 8px;
	width: 100%;
	overflow: hidden;
	}
	ul.newsticker { /* that's your list */
	position: relative;
	right: -10px;
	font: bold 10px Verdana;
	list-style-type: none;
	margin: 0;
	padding: 0;

	}
	ul.newsticker li {
	float: left; /* important: display inline gives incorrect results when you check for elem's width */
	margin: 0;
	padding: 0;
	background: #fff;
	}
	ul.newsticker a {
	white-space: nowrap;
	padding: 0;
	color: #ff0000;
	font: bold 10px Verdana;
	margin: 0 50px 0 0;
	} 
	ul.newsticker span {
	margin: 0 10px 0 0;
	}
