Solved

Why does this text overlap?

Posted on 2014-02-25
3
310 Views
Last Modified: 2014-03-01
Head out to http://brucegust.com/Thornhill/about.php. I have a scrolling text banner at the top. You'll notice that there's a section that overlaps, and I don't know why.

If I change my font size to 11px, it's fine, but I really want to make the text a bit bigger. Any idea as to why I'm getting the overlap and how I can fix it?
0
Comment
Question by:brucegust
3 Comments
 
LVL 51

Expert Comment

by:Julian Hansen
Comment Utility
You'll notice that there's a section that overlaps
Not seeing it - I see some pipe delimited blue text scrolling right to left starting about 80% across the white section below the menu and dissappearing about 5px before the left edge.

Looks like around 15-20px padding top and bottom - can't see an overlap though - what should I be looking for?
0
 
LVL 38

Accepted Solution

by:
Tom Beck earned 250 total points
Comment Utility
I can see it in Chrome and FF on a Mac.

What if you just add some padding to the ends of the marquee?

var marqueecontent='<nobr><div style="padding:0 70px"> | <A HREF=forms/6.pdf target=&quot;_blank&quot;" class="index" style="text-decoration:none; font-weight:bold;">test</a>&nbsp; | <A HREF="news_display.php?id=1" class="index" style="text-decoration:none; font-weight:bold;">Retirement Guys</a>&nbsp; | <A HREF=http://www.brucegust.com target=&quot;_blank&quot;" class="index" style="text-decoration:none; font-weight:bold;">brucegust.com</a>&nbsp; | <A HREF="news_display.php?id=4" class="index" style="text-decoration:none; font-weight:bold;">A great piece of news!</a></div></nobr>'

I also removed a few </b> tags in there that had no start tags.
0
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
Comment Utility
I don't see any overlap (IE Windows, Chrome Windows) but the marquee looked a little jerky.  You might want to consider using a technology like this:
http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Jquery/A_11357-Upgrading-the-Marquee-Tag-with-jQuery.html

Also you might want to avoid a character-set collision.

The validator can help you find where the collision is occurring:
http://validator.w3.org/check?uri=http%3A%2F%2Fbrucegust.com%2FThornhill%2Fabout.php&charset=%28detect+automatically%29&doctype=Inline&group=0
0

Featured Post

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.

Join & Write a Comment

Suggested Solutions

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
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 count occurrences of each item in an array.

744 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

18 Experts available now in Live!

Get 1:1 Help Now