Solved

Why does this text overlap?

Posted on 2014-02-25
3
311 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 52

Expert Comment

by:Julian Hansen
ID: 39888044
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
ID: 39888583
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
ID: 39888815
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

867 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

20 Experts available now in Live!

Get 1:1 Help Now