• Resolved mokidad

    (@mokidad)


    I’m running a modified 2010 theme and I’m trying to move from iWeb to WordPress. So I’m using div tags in my content to try to make the visual elements match.

    When I add div tags to create text boxes, however, the content div does not automatically expand to show the content. It uses “overflow: hidden” in the provided stylesheet, but it works fine for blog posts.

    The two pages I’m working on are:
    https://mokidocavaliers.com/dogs/puppies
    https://mokidocavaliers.com/dogs/home

    The home one only shows everything because I hacked in a bunch of <p> </p>
    Any ideas? I tried putting “clear: both” on all the contained div’s but that didn’t seem to do it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mokidad

    (@mokidad)

    Do I have to make my divs float inside the wordpress content?

    Thread Starter mokidad

    (@mokidad)

    Ok, it looks as though placing a position: absolute inside a position: relative does not count for the height of the container.

    /solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘content div not expanding’ is closed to new replies.