emersonthis
emersonthis

Reputation: 33378

Mysterious white space between two divs

I can't figure out WHY there is a mysterious space appearing on the live version of my site but NOT on my local version.

Visit this site. Notice there's a gap above the div containing "imadake is an izakaya" which reveals the blue/white stripes of the background. On my local version of the site (with all the same files!) there is not gap.

I've tried multiple browsers and it consistently appears online, but not locally.

Help!

Upvotes: 0

Views: 1031

Answers (3)

raquel
raquel

Reputation: 1

Your divs may not be floating. Try placing a float left on each and you should see the strange gap go away.

Upvotes: 0

Alfabravo
Alfabravo

Reputation: 7569

There's a <p></p> above that title you recall. Check it out , maybe you're doing some kind of loop and the first iteration places an empty paragraph.

Upvotes: 1

Jonny White
Jonny White

Reputation: 875

There's a paragraph opening and closing at the top of the entry-content div with nothing in it. Delete this and that should sort it.

Upvotes: 0

Related Questions