<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: CSS, 3 column layouts, max-width</title>
	<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth/</link>
	<description>Comments on Ask MetaFilter post CSS, 3 column layouts, max-width</description>
	<pubDate>Sat, 17 Jun 2006 11:28:05 -0800</pubDate>
	<lastBuildDate>Sat, 17 Jun 2006 11:28:05 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: CSS, 3 column layouts, max-width</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth</link>	
		<description>CSS, 3-column layout, max-width on the centre column, side columns &quot;sticking&quot; to the centre column. Possible? &lt;br /&gt;&lt;br /&gt; What I&apos;m trying to accomplish:&lt;br&gt;
&lt;br&gt;
100% width header and footer, with 3 content columns. &lt;br&gt;
&lt;br&gt;
Column 1 and column 3 are fixed-width and floated left and right.&lt;br&gt;
&lt;br&gt;
Column 2 is liquid with fixed-width margins, allowing it to sit inbetween columns 1 and 2.&lt;br&gt;
&lt;br&gt;
So far so standard.&lt;br&gt;
&lt;br&gt;
The problem is I want to apply a max-width in ems to the centre column, so the line length doesn&apos;t get stupidly long. Whenever I try it, column 3 cleaves right (as it should, having been floated right) instead of cleaving to the centre column, where I&apos;d like it.&lt;br&gt;
&lt;br&gt;
So, any suggestions? Is there a better starting point than the float left/right + margins 3 column layout? Any tutorials or examples? (I can&apos;t be the only person to want to do this). Is there a more appropriate place to ask this question?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.40380</guid>
		<pubDate>Sat, 17 Jun 2006 10:52:50 -0800</pubDate>
		<dc:creator>Leon</dc:creator>
		
			<category>css</category>
		
			<category>web</category>
		
			<category>3columns</category>
		
			<category>layout</category>
		
			<category>design</category>
		
	</item> <item>
		<title>By: FidelDonson</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth#622051</link>	
		<description>&lt;a href=&quot;http://blog.html.it/layoutgala/&quot;&gt;http://blog.html.it/layoutgala/&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.40380-622051</guid>
		<pubDate>Sat, 17 Jun 2006 11:28:05 -0800</pubDate>
		<dc:creator>FidelDonson</dc:creator>
	</item><item>
		<title>By: cillit bang</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth#622073</link>	
		<description>Apply max-width to a div that encloses all 3 columns or use Javascript.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.40380-622073</guid>
		<pubDate>Sat, 17 Jun 2006 12:16:15 -0800</pubDate>
		<dc:creator>cillit bang</dc:creator>
	</item><item>
		<title>By: kirkaracha</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth#622090</link>	
		<description>Couldn&apos;t you just float the sidebars and content div all to the left?&lt;br&gt;
&lt;br&gt;
Or try this. Let&apos;s say you have a wrapper div that contains three divs, one for the contents and one for each sidebar, and the sidebar divs are 200 pixels wide.&lt;br&gt;
&lt;br&gt;
1. Make the wrapper div position:relative and set max-width&lt;br&gt;
2. Make the left and right margins of the content div 200 pixels.&lt;br&gt;
3. Make the widths of the sidebar divs 200 pixels.&lt;br&gt;
4. Use position:absolute for the sidebar divs. The left one will be top:0, left:0 and the right one will be top:0, right:0.&lt;br&gt;
&lt;br&gt;
Making the wrapper div position:relative will let you use absolute positioning to put the sidebar divs at the top of the wrapper div instead of the top of the page. See &lt;a href=&quot;http://www.stopdesign.com/articles/absolute/&quot;&gt;Making the Absolute Relative&lt;/a&gt; for a more detailed explanation.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.svendtofte.com/code/max_width_in_ie/&quot;&gt;Max-width in Internet Explorer&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.40380-622090</guid>
		<pubDate>Sat, 17 Jun 2006 12:54:58 -0800</pubDate>
		<dc:creator>kirkaracha</dc:creator>
	</item><item>
		<title>By: Drunken_munky</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth#622124</link>	
		<description>I know jack all about CSS (I&apos;m trying to learn), so my apologies if this isn&apos;t right. Is &lt;a href=&quot;http://glish.com/css/7.asp&quot;&gt;this tutorial&lt;/a&gt; an example of what you want?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.40380-622124</guid>
		<pubDate>Sat, 17 Jun 2006 13:55:03 -0800</pubDate>
		<dc:creator>Drunken_munky</dc:creator>
	</item><item>
		<title>By: Leon</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth#622134</link>	
		<description>FidelDonson: I don&apos;t see any styles there that use max-width. But thanks, it&apos;s a really nice resource, and answers some of my upcoming questions.&lt;br&gt;
&lt;br&gt;
cillit bang: I tried applying max-width to a wrapper, but I suffered weird overlapping issues. Plus it kinda defeats the whole point of using ems. I suspect you&apos;re right about Javascript being the only answer, but I hope not.&lt;br&gt;
&lt;br&gt;
kirkaracha: I &lt;em&gt;think&lt;/em&gt; I tried floating all left, but it looks promising so I&apos;ll try it again. Thanks.&lt;br&gt;
&lt;br&gt;
Drunken_munky: that&apos;s my starting point. I want to apply max-width to the centre column so it expands to a width of about 15 words, then stops. Long lines of text are harder to read.&lt;br&gt;
&lt;br&gt;
Thanks all, I&apos;ll continue to play. (If anyone has a forum, newsgroup, mailing list that might be able to help, I&apos;d be really grateful if you&apos;d post.)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.40380-622134</guid>
		<pubDate>Sat, 17 Jun 2006 14:32:39 -0800</pubDate>
		<dc:creator>Leon</dc:creator>
	</item><item>
		<title>By: ceri richard</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth#622666</link>	
		<description>I think the best forum for this question would be Eric Meyer&apos;s &lt;a href=&quot;http://www.css-discuss.org/&quot;&gt;css-d&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.40380-622666</guid>
		<pubDate>Sun, 18 Jun 2006 10:34:05 -0800</pubDate>
		<dc:creator>ceri richard</dc:creator>
	</item><item>
		<title>By: ceri richard</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth#622667</link>	
		<description>(Sorry, make that mailing list, not forum. Duh.)&lt;br&gt;
&lt;br&gt;
You might also get a good response from the &lt;a href=&quot;http://www.sitepoint.com/forums/forumdisplay.php?f=1&quot;&gt;SitePoint forum&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.40380-622667</guid>
		<pubDate>Sun, 18 Jun 2006 10:35:30 -0800</pubDate>
		<dc:creator>ceri richard</dc:creator>
	</item><item>
		<title>By: Leon</title>
		<link>http://ask.metafilter.com/40380/CSS-3-column-layouts-maxwidth#623163</link>	
		<description>kirkaracha: of course, floating all left won&apos;t work because you don&apos;t know the width of the centre column, so you can&apos;t set a left-margin on the right-most column.&lt;br&gt;
&lt;br&gt;
ceri richard: thanks, I subscribed to css-d. I&apos;ll put together an example and post there.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.40380-623163</guid>
		<pubDate>Mon, 19 Jun 2006 01:16:51 -0800</pubDate>
		<dc:creator>Leon</dc:creator>
	</item>
	</channel>
</rss>
