chrisidas Posted June 29, 2011 Share Posted June 29, 2011 Not sure if this should be in the PHP section or here, but as i think its a positioning problem i put it here. How come when i display results from a MySQL query in a table, the table doesnt stay inside the div tag, it just overlaps the border and doesnt expand the div? Is there a way to stop this? Thanks Link to comment https://forums.phpfreaks.com/topic/240721-why-do-my-php-items-overlap-other-items-think-this-is-the-right-section/ Share on other sites More sharing options...
cssfreakie Posted June 30, 2011 Share Posted June 30, 2011 don't set a width to the div, or use min-width. (as far as widths) for the height, you can use overflow:hidden, (if you don't set a height) Link to comment https://forums.phpfreaks.com/topic/240721-why-do-my-php-items-overlap-other-items-think-this-is-the-right-section/#findComment-1236784 Share on other sites More sharing options...
chrisidas Posted June 30, 2011 Author Share Posted June 30, 2011 Cheers, got it working Link to comment https://forums.phpfreaks.com/topic/240721-why-do-my-php-items-overlap-other-items-think-this-is-the-right-section/#findComment-1236809 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.