Div does not expand to content when served via wordpress (4 posts)

  1. tomkoukoulis
    Posted 4 years ago #

    Hi all,

    A theme we created, looks fine when standalone, but the content div height does not expand with content when served through wordpress. We tried everything we could think of and the problem still persists. We'd appreciate if you could offer us any help.

    The standalone website is here: http://taniasportfolio.com/lina/ with the div correctly expanding (white box on centre of page). css: http://taniasportfolio.com/lina/screenstyle.css

    The one served through wordpress is here: http://linas4treats.co.uk/, you can see the div does not expand to content, css: http://linas4treats.co.uk/wp-content/themes/lina/style.css

    It tends to behave different in different browsers, in firefox and safari, some pages expand a bit, in chrome does not expand at all, in IE it expands fine.

    We'd be grateful for any help.

    Thank you

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Start by sorting out the markup errors. Then move onto the CSS errors.

  3. lockettpots
    Posted 4 years ago #

    Try adding

    to #MainContent

  4. tomkoukoulis
    Posted 4 years ago #

    Thank you very much for your answers guys. Both your answers helped us fix it.

    Many thanks,


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.