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! 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 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?? 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 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. 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
Archived
This topic is now archived and is closed to further replies.