Buzz_Lightyear Posted July 6, 2008 Share Posted July 6, 2008 Hi guys, searched for this, didn't find anything that was relevant. I apologise if I overlooked it. I have got a couple of questions: 1. I want to make a screen that is divided into a three divs. The header div and footer div are a fixed height. How can I make the middle div (the one that contains the actual contents) fit exactly between the two, regardless of screen size/ resolution of the user? 2. I want to make a scrollable data table with a fixed header. My solution is to put the header row in one div and then the actual data content in a second div with overflow:auto. In order for this to work, I have to make sure that the columns in each table are a fixed widths, otherwise the position of the categories in the header does not match the data in the table below. The problem is that the data are of variable length. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/113414-newbie-needs-help/ Share on other sites More sharing options...
MasterACE14 Posted July 6, 2008 Share Posted July 6, 2008 this is a CSS question, not a PHP one. as for your first question. just use. float: left; on all 3 div's, and you put the div's in order in the actual page. Like so: <div id="left"></div> <div id="content"></div> <div id="right"></div> as for your second question, you've lost me. Regards ACE Quote Link to comment https://forums.phpfreaks.com/topic/113414-newbie-needs-help/#findComment-582756 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.