div overflow related problem

windows

Guest
hey everybody...

<!-- m --><a class="postlink" href="http://www.geocities.com/krautinator2001//testbed.html">http://www.geocities.com/krautinator2001//testbed.html</a><!-- m -->
Above link is what I have so far.
I want to make this news ticker type thing for my web site, and I want the text to stay within the bounds of a div tag, removing old text as it scrolls vertically without expanding

is there a way to do this with css, or am I just going to have to use Javascript?

thanx in advanceYou'll have to use JavaScript and CSS. You'll need to set the overflow of the DIV to hidden.

<style type="text/css">
<!--
#newsticker { overflow: hidden; }
-->
</style>
.
.
.
<div id="newsticker"></div>

That should get you started on the markup and CSS side. Post this question in the javascript forum and they should be able to help you out there.
 
Back
Top