son.of.the.morning Posted December 13, 2011 Share Posted December 13, 2011 I have an article page that loads a article up but if the article exceeds the hieght of the div it overflows. I know this isnt much of a PHP question, however it's driving me nuts! Quote Link to comment https://forums.phpfreaks.com/topic/253088-div-wrapped-not-expanding-when-php-loads-data/ Share on other sites More sharing options...
marcelobm Posted December 13, 2011 Share Posted December 13, 2011 you probably are giving the div a height in the css, instead set it to min-height Quote Link to comment https://forums.phpfreaks.com/topic/253088-div-wrapped-not-expanding-when-php-loads-data/#findComment-1297493 Share on other sites More sharing options...
Stiver112 Posted December 13, 2011 Share Posted December 13, 2011 Have you tried height:auto in the CSS?? Quote Link to comment https://forums.phpfreaks.com/topic/253088-div-wrapped-not-expanding-when-php-loads-data/#findComment-1297576 Share on other sites More sharing options...
son.of.the.morning Posted December 13, 2011 Author Share Posted December 13, 2011 I have tried both methods and no luck Quote Link to comment https://forums.phpfreaks.com/topic/253088-div-wrapped-not-expanding-when-php-loads-data/#findComment-1297618 Share on other sites More sharing options...
haku Posted December 14, 2011 Share Posted December 14, 2011 We can't really help without seeing a link or some code. Quote Link to comment https://forums.phpfreaks.com/topic/253088-div-wrapped-not-expanding-when-php-loads-data/#findComment-1297732 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.