Support » Themes and Templates » Div float pushes down 350px

  • Resolved gobucks821


    I’m developing a blog and for some reason the div-id “main” is filling with 350px of blank space before its child elements appear: “this-issue” (float left) and “sidebar” (float right). As a temporary workaround, I made its children float top: -350px, but I’d like to figure our what’s causing that blank space. Additionally, that workaround shifts the content up, but now the blank space appears below the children.

Viewing 2 replies - 1 through 2 (of 2 total)
  • <span class="m"></span> causing problem. You dont even really need it, you can add it to <div id="main"> as a background + background-position.

    Or you should’ve use position:absolute instead of relative.

    Thanks! ‘Background’ + ‘background-position’ worked perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Div float pushes down 350px’ is closed to new replies.