learn to search, елки палки http://www.alistapart.com/articles/multicolumnlayouts/ http://www.alistapart.com/articles/fauxabsolutepositioning/
2009/8/17 Ben Davies <[email protected]> > Hi Kepler, > > >You may want to try max-width on your main content. I'm not sure if that > will work for you since you didn't post a link. > > I tried max- and min-width in a few combinations and could not get it > to work (and makes my content no longer fluid ). > > Hi Mark > > Thanks for the sample code. The problem with that approach is that if > the window is too small the sidebar will drop down. If it is too large > my content area will grow but I will introduce a big gap between the > sidebar and the content. > > The markup below demonstrates what I currently have. Works great but I > suspect content-first source ordering is impossible: > > <html><head> > <title>test</title> > <style type="text/css"> > #cont { > padding:10px; > margin-left: 220px; > } > #sidebar { > float:left; > background: #DDDDDD; > margin: 10px; > margin-right:0px; > font-size:90%; > width:200px; > } > </style> > </head> > <body> > <div id="wrap"> > > <div id="sidebar"> > Sidebar Sidebar Sidebar Sidebar Sidebar Sidebar Sidebar Sidebar > Sidebar > </div> > > <div id="cont">content > content content content content content content content content content > content > content content content content content content content content content > content > content content content content content content content content content > content > content content content content content content content content content > content > content content > </div> > > </div> > </body></html> > > > > Ben Davies > > > ******************************************************************* > List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm > Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm > Help: [email protected] > ******************************************************************* > > -- С уважением, Кириченко Сергей верстальщик тел. +7 (904) 333-46-25 starhack.ru ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] *******************************************************************
