[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Why is there a gap in this string?

Posted on 2012-03-12
6
Medium Priority
?
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 111

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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 31

Accepted Solution

by:
Marco Gasi earned 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

650 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