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 Quote Link to comment 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) Quote Link to comment Share on other sites More sharing options...
chrisidas Posted June 30, 2011 Author Share Posted June 30, 2011 Cheers, got it working Quote Link to comment 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.