Marquee overlapping help

Trill

Member
Jul 11, 2013
32
5
Hello,

I am working on a "DJ Says" for my radio site. I've somewhat hard-coded for both the "DJ Tyler Says:" and the message to be on the same line using margin-top. Basically, now it's scrolling over the "DJ Tyler Says:" part, and I want it to end before it gets to the ":" if that makes sense.

Example:
vf4A0va.png


Code that displays the message and DJ Tyler Says:
Code:
 <div class="dj-says">
            <?php
                echo "DJ {$array2['username']} Says:";
?>
       </div>
        <div class="dj-says-scroll">
            <?php
                echo "<marquee>{$array['message']}</marquee>";
?>
       </div>

Here's "dj-says-scroll" CSS:
Code:
.dj-says-scroll {
    margin-top: -20px;
}

Any idea how to sort this?

Thanks!
 

Users who are viewing this thread

Top