Renlok Posted December 19, 2009 Share Posted December 19, 2009 is it possible to have a column layout where the centre column is of a fixed width and the left and right column take up the rest of the space? Ive been searching for a while and havent a clue how to do it Quote Link to comment https://forums.phpfreaks.com/topic/185718-3-column-layout-question/ Share on other sites More sharing options...
vinpkl Posted December 20, 2009 Share Posted December 20, 2009 if you want to make it flexible then you can give measurement in percentage instead of fixed pixels. otherwise without giving width its not possible vineet Quote Link to comment https://forums.phpfreaks.com/topic/185718-3-column-layout-question/#findComment-980807 Share on other sites More sharing options...
haku Posted December 20, 2009 Share Posted December 20, 2009 http://www.dynamicdrive.com/style/layouts/item/css-liquid-layout-31-fixed-fluid-fixed/ Quote Link to comment https://forums.phpfreaks.com/topic/185718-3-column-layout-question/#findComment-980941 Share on other sites More sharing options...
FaT3oYCG Posted December 20, 2009 Share Posted December 20, 2009 to make the centre div of fixed side you could try the following 1 main container div 3 div's inside the container div float 1 div left don't float the second float the third div right set the width of the central div and give a percentage to the two other div's put a margin of the percentage widths that you gave to the other to div's as left and right margins on the central div I don't know if that will work perfectly as I haven't tried it but I think it should Quote Link to comment https://forums.phpfreaks.com/topic/185718-3-column-layout-question/#findComment-980996 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.