views:

28

answers:

2

While polishing my site I noticed there was some unwanted space between 2 elements, so I decided to remove it. But looking at the source, I found this:

screenshot

Please check it by yourself, there's no trace of this server-side. Live page here: http://www.playersonline.com.ar/guias

Any help would be appreciated.

+2  A: 

Not sure where the mysterious whitespace is coming from, but modifying your #k2Container CSS will solve the problem for you:

#k2Container {
    padding:0; 
    position: relative; 
    top: -20px; /* adjust as needed */
}
Pat
Meh, dirty but works :D. This thing is cursed anyway. Thanks!
Daniel S
+1  A: 

Checked in Firebug, Chrome, Firefox Webmaster Tools, and via validator. Half indicate stray characters. Half don't.

Often times, you can solve an issue like this with Firefox Web Developer Tool's "View Generated Source" which is important for browsers like Firefox that are intelligent enough to fix the problems themselves (unlike IE I might add) Non breaking spaces are a great example of an element that can toy with IE but will never show up on Firefox with this feature. Here's the link if you don't have it: http://chrispederick.com/work/web-developer/

I'd say take 20 minutes to grep your code again for the string " . " If that doesn't find a result, by all means consider Pat's suggestion. That's one heck of a lot of divs to deal with!

bpeterson76