Unexpected spacing

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
toasty2
Forum Contributor
Posts: 361
Joined: Wed Aug 03, 2005 10:28 am
Location: Arkansas, USA

Unexpected spacing

Post by toasty2 »

I have this website:
http://randomresources.org/?a=index
For some reason the translated version has an unexpected line break at the beginning:
http://randomresources.org/?a=index.es
You can see the source files here:
http://randomresources.org/content/index.html
http://randomresources.org/content/index.es.html
I can't find anything that would cause that space, the two files are treated equally when loaded by the CMS, so the problem isn't there.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Unexpected spacing

Post by Christopher »

My suspicion would be the wrapping text is somhow causing the problem. Check the containing div.
(#10850)
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: Unexpected spacing

Post by kaszu »

Inside your code:

Code: Select all

<div class="block">?<h1>Nada
between "><" is a symbol which is not visible, but causes your problem.
Post Reply