.tickercontainer {/* the outer div with the black border */
	height: 35px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #000000;
}
.tickercontainer .mask {/* that serves as a mask. so you get a sort of padding both left and right */
	position: relative;
	top: 5px;
	height: 25px;
	overflow: hidden;
}
ul.newsticker {/* that's your list */
	position: relative;
	font: bold 21px 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-right: 15px;
	color: #FFFFFF;
	white-space: nowrap;
}
@media only screen and (max-width: 479px) {
	.tickercontainer {
		width: 300px !important;
		height: 20px !important;
	}
	.tickercontainer .mask {
		top: 1px;
		height: 15px;
	}
	ul.newsticker {
		left: 300px;
		font: bold 12px Verdana;
	}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.tickercontainer {
		width: 420px !important;
		height: 25px !important;
	}
	.tickercontainer .mask {
		top: 2px;
		height: 18px;
	}
	ul.newsticker {
		left: 420px;
		font: bold 16px Verdana;
	}
}
@media only screen and (min-width: 768px) and (max-width: 979px) {
	.tickercontainer {
		width: 747px !important;
		height: 30px !important;
	}
	.tickercontainer .mask {
		top: 3px;
		height: 20px;
	}
	ul.newsticker {
		left: 747px;
		font: bold 18px Verdana;
	}
}
@media only screen and (min-width: 980px) {
	.tickercontainer {
		width: 940px !important;
	}
	ul.newsticker {
		left: 940px;
	}
}