Solved

Why does this text overlap?

Posted on 2014-02-25
3
322 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
[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
3 Comments
 
LVL 56

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 110

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

726 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