Solved

Why is there a gap in this string?

Posted on 2012-03-12
6
172 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
Comment Utility
are you using <br> inside your marquee statement?
0
 
LVL 6

Expert Comment

by:johndoeherty
Comment Utility
Have you tried applying one (or both) of these

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

 on td.marquee?

JD
0
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 30

Accepted Solution

by:
Marco Gasi earned 500 total points
Comment Utility
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
Comment Utility
In the iemarquee2 section I put, "margin-left:0;" and BAM, problem solved!

Thanks!
0
 
LVL 30

Expert Comment

by:Marco Gasi
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

763 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

11 Experts available now in Live!

Get 1:1 Help Now