newbeee Posted December 28, 2008 Share Posted December 28, 2008 having trouble getting boxes to show side by side but if the browser window is smaller the boxes cascade down the page. unlike tables which stay put and disapear out of view. all boxes should be same width say <table border="0"> <tr> <td width="200" height="200"> </td> <td width="200"> </td> <td width="200"> </td> <td width="200"> </td> <td width="200"> </td> <td width="200"> </td> <td width="200"> </td> <td width="200"> </td> <td width="200"> </td> <td width="200"> </td> </tr> </table> Quote Link to comment https://forums.phpfreaks.com/topic/138654-cascading-boxes-down-page-when-browser-made-smaler/ Share on other sites More sharing options...
sKunKbad Posted December 30, 2008 Share Posted December 30, 2008 Simply float:left all of the "boxes", which would be divs. Make sure to declare a width for each of the divs, and you're all set. Quote Link to comment https://forums.phpfreaks.com/topic/138654-cascading-boxes-down-page-when-browser-made-smaler/#findComment-725913 Share on other sites More sharing options...
ToonMariner Posted January 1, 2009 Share Posted January 1, 2009 you say thats a problem.... what if someone has a low res monitor? should they have to scroll left and right to get that at the info you are providing??? NO they shouldn't. now-a-days this is not such a problem - most modern sites are designed under the premise of the user having a 1024 res display - changed from the 800 of yesteryear. I am cool with that; I VERY rarely consider the effect a 800 px wide iew port has on my sites these days... HOWEVER as a professional web developer you 'should' be building flexible sites - ones that don't force to user into anything just to be able to view the site. BE FLEXIBLE. Quote Link to comment https://forums.phpfreaks.com/topic/138654-cascading-boxes-down-page-when-browser-made-smaler/#findComment-727392 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.