<?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 issues: need help with box model hacks</title>
	<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks/</link>
	<description>Comments on Ask MetaFilter post CSS issues: need help with box model hacks</description>
	<pubDate>Sun, 22 Aug 2004 19:50:14 -0800</pubDate>
	<lastBuildDate>Sun, 22 Aug 2004 19:50:14 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: CSS issues: need help with box model hacks</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks</link>	
		<description>CSS Headaches: Hours into a redesign, everything is looking great in Safari and Firefox - is almost looking right in IE Mac, but is simply not functioning properly on the Windows side. Box model hacks are failing me. [A little more inside] &lt;br /&gt;&lt;br /&gt; I&apos;m reluctant to post a link to the site publicly (it&apos;s just my portfolio site, but is unfinished at the moment) but if you&apos;d be willing to take a quick look under the hood, please contact me via e-mail. I&apos;ll send the link your way.&lt;br&gt;
&lt;br&gt;
I&apos;m fairly certain I can figure it out eventually, but what might well take me hours of trial and error may take you but a few minutes - perhaps you&apos;ve encountered this problem before?&lt;br&gt;
&lt;br&gt;
If you can help me get things sorted, you will be thanked publicly and vociferously.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2004:site.9600</guid>
		<pubDate>Sun, 22 Aug 2004 19:34:07 -0800</pubDate>
		<dc:creator>aladfar</dc:creator>
		
			<category>CSS</category>
		
			<category>websites</category>
		
			<category>design</category>
		
			<category>webdesign</category>
		
			<category>browsers</category>
		
			<category>web</category>
		
	</item> <item>
		<title>By: rhyax</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178713</link>	
		<description>I&apos;m unclear what you want answered here.&lt;br&gt;
&lt;br&gt;
If you&apos;re willing to post this question you may as well link to your site right? I mean seeing as there is no other question. It may or may not be seen as self-linking, but as it stands it&apos;s not much fun.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178713</guid>
		<pubDate>Sun, 22 Aug 2004 19:50:14 -0800</pubDate>
		<dc:creator>rhyax</dc:creator>
	</item><item>
		<title>By: aladfar</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178716</link>	
		<description>You&apos;re probably right rhyax - to be honest, I&apos;m a little embarrassed to admit that I&apos;m not able to figure it out on my own (due in part to the fact that I lack a Windows system). And so, though it&apos;s a self link, &lt;a href=&quot;http://www.machinechicago.com/new&quot;&gt;here goes&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178716</guid>
		<pubDate>Sun, 22 Aug 2004 19:54:26 -0800</pubDate>
		<dc:creator>aladfar</dc:creator>
	</item><item>
		<title>By: gramcracker</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178722</link>	
		<description>Looks fine in Win Firefox .9 and IE6...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178722</guid>
		<pubDate>Sun, 22 Aug 2004 20:10:18 -0800</pubDate>
		<dc:creator>gramcracker</dc:creator>
	</item><item>
		<title>By: amberglow</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178737</link>	
		<description>(It looks really great in Safari, if that&apos;s any consolation, and Opera too)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178737</guid>
		<pubDate>Sun, 22 Aug 2004 20:45:05 -0800</pubDate>
		<dc:creator>amberglow</dc:creator>
	</item><item>
		<title>By: aladfar</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178744</link>	
		<description>Thanks amber and gramcracker, I appreciate it - I know it works in standards compliant browsers, and IE 6, but I&apos;m hoping to get a little more backwards compatible if possible. I&apos;d like to see it function in IE 5 Win - that&apos;s where I&apos;m really pulling my hair out.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178744</guid>
		<pubDate>Sun, 22 Aug 2004 21:03:56 -0800</pubDate>
		<dc:creator>aladfar</dc:creator>
	</item><item>
		<title>By: aramaic</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178747</link>	
		<description>Couldn&apos;t you hack a browser-detect script, and feed IE5/Win a table version? OK, it wouldn&apos;t be elegant, but....</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178747</guid>
		<pubDate>Sun, 22 Aug 2004 21:25:12 -0800</pubDate>
		<dc:creator>aramaic</dc:creator>
	</item><item>
		<title>By: nakedcodemonkey</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178748</link>	
		<description>&lt;i&gt;Step 1 for all css debugging: validate the markup, then validate the CSS.&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
You&apos;re missing an opening HTML tag, and in XHTML even br and img elements must be closed.  The markup problems might be sending IE back into tag soup mode.  Leaving out the charset declaration probably isn&apos;t to blame, but if you&apos;re not actually using the XHTML default (UFT-8) then specify your real charset.&lt;br&gt;
&lt;br&gt;
Step 2: once your markup and CSS are flawless, break it for IE.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.positioniseverything.net/&quot;&gt;Holly and John&apos;s site&lt;/a&gt; always seem to be able to point me toward the right IE bug.  &lt;a href=&quot;http://www.css-discuss.org/&quot;&gt;css-d&lt;/a&gt; is a good source of leads on the more obscure bugs/interactions.  If you&apos;re less interested in the whys than in just forcing IE5/Win fixes, then &lt;a href=&quot;http://tantek.com/CSS/Examples/midpass.html&quot;&gt;Tantek&lt;/a&gt; is the man.&lt;br&gt;
&lt;br&gt;
&lt;i&gt;Step 3: bang your head repeatedly into wall.  Curse loudly in the direction of Redmond.&lt;/i&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178748</guid>
		<pubDate>Sun, 22 Aug 2004 21:25:38 -0800</pubDate>
		<dc:creator>nakedcodemonkey</dc:creator>
	</item><item>
		<title>By: nakedcodemonkey</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178750</link>	
		<description>Re: lack of Windows system, &lt;a href=&quot;http://www.danvine.com/iecapture/&quot;&gt;ieCapture&lt;/a&gt; is sometimes helpful (when available--it&apos;s been overloaded a lot lately)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178750</guid>
		<pubDate>Sun, 22 Aug 2004 21:29:18 -0800</pubDate>
		<dc:creator>nakedcodemonkey</dc:creator>
	</item><item>
		<title>By: madman</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178760</link>	
		<description>Get any old browser for testing from the wonderful &lt;a href=&quot;http://browsers.evolt.org&quot;&gt;browser archive at evolt.org&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178760</guid>
		<pubDate>Sun, 22 Aug 2004 22:14:14 -0800</pubDate>
		<dc:creator>madman</dc:creator>
	</item><item>
		<title>By: taz</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178795</link>	
		<description>I looked at it in a Win IE5 browser, and the only problem I saw was that it is lining up on the left - is this the problem you are referring to? If so, I think you can handle that &lt;a href=&quot;http://www.bluerobot.com/web/css/center2.html&quot;&gt;this way&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178795</guid>
		<pubDate>Mon, 23 Aug 2004 02:29:07 -0800</pubDate>
		<dc:creator>taz</dc:creator>
	</item><item>
		<title>By: yerfatma</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178822</link>	
		<description>Honestly, the easiest way to center stuff in IE5 is to put &quot;text-align: center;&quot; on the body and then &quot;text-align: left;&quot; on your outer container element (which is properly centered by setting a fixed width and &quot;margin: 0 auto;&quot;). Easiest way to support IE5 PC is to put IE6 in standards mode (as suggested above) and then put the incorrect box model widths in each element&apos;s CSS then follow them up with &quot;w\idth: correct, box-model compliant #&quot; directly after.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178822</guid>
		<pubDate>Mon, 23 Aug 2004 06:13:40 -0800</pubDate>
		<dc:creator>yerfatma</dc:creator>
	</item><item>
		<title>By: codger</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178839</link>	
		<description>I know it&apos;s a sledgehammer solution, but you can use PHP to serve different stylesheets based on user-agent. I used to do this for the exact opposite situation: it rendered properly in all but the compliant browsers.&lt;br&gt;
&lt;br&gt;
BTW it looks fine in Opera 7.53/win.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178839</guid>
		<pubDate>Mon, 23 Aug 2004 07:40:27 -0800</pubDate>
		<dc:creator>codger</dc:creator>
	</item><item>
		<title>By: erratic frog</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178850</link>	
		<description>Looks great in standard IE 6 on Windows XP. :)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178850</guid>
		<pubDate>Mon, 23 Aug 2004 08:55:50 -0800</pubDate>
		<dc:creator>erratic frog</dc:creator>
	</item><item>
		<title>By: aladfar</title>
		<link>http://ask.metafilter.com/9600/CSS-issues-need-help-with-box-model-hacks#178861</link>	
		<description>Thanks very much for the testing and advice everyone - I&apos;m going to work on it a bit more today and hope to iron out the remaining kinks. If I can get at least the layout working properly in IE 5, that will suffice.&lt;br&gt;
&lt;br&gt;
yerfatma: I&apos;m using a similar box model hack right now, but perhaps your suggestion will allow for better compliance. I&apos;ll give it a try and will see how it goes.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2004:site.9600-178861</guid>
		<pubDate>Mon, 23 Aug 2004 09:40:50 -0800</pubDate>
		<dc:creator>aladfar</dc:creator>
	</item>
	</channel>
</rss>
