brown2005 Posted October 30, 2007 Share Posted October 30, 2007 <div id='content'> <div id='left'>this won is 100px wide</div> <div id='center'>this won is 550px wide</div> <div id='right'>this won is 100px wide</div> </div> can some1 help with the above layout please. thanks in advance Link to comment https://forums.phpfreaks.com/topic/75370-3-columns-side-by-side/ Share on other sites More sharing options...
calabiyau Posted October 30, 2007 Share Posted October 30, 2007 css: #content div {float: left;} #left {width: 100px;} #center {width: 550px;} #right { width: 100px;} EDIT...Just thought, maybe #content div isn't the best way to go, since you may have div's inside the column that it might affect. Just add the float: left; into each of left, center, right div's. Link to comment https://forums.phpfreaks.com/topic/75370-3-columns-side-by-side/#findComment-381264 Share on other sites More sharing options...
bronzemonkey Posted October 30, 2007 Share Posted October 30, 2007 Check out this tutorial - http://www.positioniseverything.net/ordered-floats.html Link to comment https://forums.phpfreaks.com/topic/75370-3-columns-side-by-side/#findComment-381268 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.