0

This div element is causing a big gap on my wordpress page, specifically on the single post page. It's nowhere in the themes, I can't seem to find where this div element is coming from. Have you encountered this before (the highlighted element)? alt text

PS: Happens on chrome only. UPDATE: Still having this problem even with the stable chrome. Help anybody?

UPDATE2: I think its the syntax highlighter plugin. And I also found out all other wordpress blogs (that I've checked) have this div. And the code's height in the post adds to the height of the div.

1
  • The image is a little difficult to read. Can you add just the source of that DIV html to your question?
    – hakre
    Commented Nov 23, 2010 at 19:56

3 Answers 3

0

It looks to me like JavaScript for your lightbox.

  • edit

If this only happens in Chrome, there is a rendering bug that has gone unfixed for quite some time.

Add height:100%; to the body or html element in your css.

2
  • deactivated lightbox, and still the same problem.
    – Ruel
    Commented Nov 23, 2010 at 2:09
  • Is this only showing up in chrome? NM I saw you edit above, I added to me answer above.
    – Wyck
    Commented Nov 23, 2010 at 17:19
1

I agree, your lightbox plugin generated it

3
  • I deactivated lightbox and its still there.
    – Ruel
    Commented Nov 23, 2010 at 2:13
  • I would deactivate all plugins and see if one is causing it. Otherwise check your footer.php file and also your footer widgets. Commented Nov 23, 2010 at 2:26
  • @user1613 I think its the syntax highlighter plugin. And I also found out all other wordpress blogs (that I've checked) have this div. And the code's height in the post adds to the height of the div.
    – Ruel
    Commented Nov 23, 2010 at 4:56
0

I had a similar issue with lightbox or shadowbox. Set the div css to display: inline. That's a chrome-specific stylesheet element.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.