Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
Marquee overlapping help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Trill" data-source="post: 242998" data-attributes="member: 35388"><p>Hello,</p><p></p><p>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.</p><p></p><p>Example:</p><p><img src="http://i.imgur.com/vf4A0va.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Code that displays the message and DJ Tyler Says:</p><p>[CODE]</p><p> <div class="dj-says"></p><p> <?php</p><p> echo "DJ {$array2['username']} Says:";</p><p>?></p><p> </div></p><p> <div class="dj-says-scroll"></p><p> <?php</p><p> echo "<marquee>{$array['message']}</marquee>";</p><p>?></p><p> </div>[/CODE]</p><p></p><p>Here's "dj-says-scroll" CSS:</p><p>[CODE]</p><p>.dj-says-scroll {</p><p> margin-top: -20px;</p><p>}</p><p>[/CODE]</p><p></p><p>Any idea how to sort this?</p><p></p><p>Thanks!</p></blockquote><p></p>
[QUOTE="Trill, post: 242998, member: 35388"] 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: [IMG]http://i.imgur.com/vf4A0va.png[/IMG] 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>[/CODE] Here's "dj-says-scroll" CSS: [CODE] .dj-says-scroll { margin-top: -20px; } [/CODE] Any idea how to sort this? Thanks! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Marquee overlapping help
Top