Solved

Why is there a gap in this string?

Posted on 2012-03-12
6
180 Views
Last Modified: 2012-03-16
Head out to http://www.countryshowdown.com and you'll see a scrolling text marquee at the top. It works great but I want to tighten things up a bit so there's no gap between the beginning and the end.

How?

Source code is available just by looking at the site...
0
Comment
Question by:brucegust
6 Comments
 
LVL 16

Expert Comment

by:santoshmotwani
ID: 37712737
are you using <br> inside your marquee statement?
0
 
LVL 6

Expert Comment

by:Mike D
ID: 37712758
Have you tried applying one (or both) of these

letter-spacing:-1px
word-spacing:-1px;

 on td.marquee?

JD
0
 
LVL 109

Expert Comment

by:Ray Paseur
ID: 37712776
I see a scrolling text marquee but it is not at the top.  It appears to be below a banner that is perhaps 200 - 400 PX high.  Is that the marquee you want us to look at?
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 31

Accepted Solution

by:
Marco Gasi earned 500 total points
ID: 37713275
The gap seems to be between iemarquee and iemarquee2: you can try to play with margin or to set the float attribute to left for these elements. If you try this second solution, remember to add immediately after the two iemarquee a new div <div style='float: clear'></div to reset the natural flow of the elements.
0
 

Author Closing Comment

by:brucegust
ID: 37731148
In the iemarquee2 section I put, "margin-left:0;" and BAM, problem solved!

Thanks!
0
 
LVL 31

Expert Comment

by:Marco Gasi
ID: 37731218
Glad to help you. Let me do an 'errata corrige': to clear the previous float statement and return to the normal document flow you have to set the clear property to both

<div style="clear: both"></div>

Cheers
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How would I do a website like this? 5 52
000webhost.com default error log 1 23
Eloquent ORM manual paginator defaults to simple 2 19
Decrypt string by php 7 27
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now