<?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: Blogger Template Glitch</title>
	<link>http://ask.metafilter.com/41442/Blogger-Template-Glitch/</link>
	<description>Comments on Ask MetaFilter post Blogger Template Glitch</description>
	<pubDate>Mon, 03 Jul 2006 20:51:29 -0800</pubDate>
	<lastBuildDate>Mon, 03 Jul 2006 20:51:29 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Blogger Template Glitch</title>
		<link>http://ask.metafilter.com/41442/Blogger-Template-Glitch</link>	
		<description>I have a template/display glitch which is driving my html-ignorant frontal lobes a bit beserko. &lt;br /&gt;&lt;br /&gt; My blogger site &lt;small&gt;[yeah, yeah...perhaps that&apos;s 1/2 the problem]&lt;/small&gt; is image intensive and in the last couple of weeks I&apos;ve been choosing &apos;large&apos; as the display choice when using the automagic blogger uploader-of-image thingy. I just mention this because I believe that it &lt;i&gt;may&lt;/i&gt; have been displaying some images wider than the 500px width specified in the template*, although they all seem under that on the front page at the mo&apos;. [* now 510]&lt;br&gt;
&lt;br&gt;
The other day someone wrote to say that the sidebar was displaying at the foot of the page in IE6 (FF was ok). I can&apos;t be certain when this started.&lt;br&gt;
&lt;br&gt;
So I tweaked around a bit, widening the page slightly and narrowing the translator button and things seemed ok.&lt;br&gt;
&lt;br&gt;
But for reasons that completely escape me, the googleads sidebar text box now won&apos;t display on the main page  on either IE or FF and the footer googlead box doesn&apos;t display in FF and IE on Win but I&apos;m told it&apos;s ok with FF on a Mac. However, everything displays properly for individual entry pages.&lt;br&gt;
&lt;br&gt;
I tried moving and replacing the googleads code but there was no change. &lt;br&gt;
&lt;br&gt;
Any ideas? Did I say that I was pretty well html-ignorant? So the lay version would be appreciated. [&lt;a href=&quot;http://bibliodyssey.blogspot.com/&quot;&gt;link&lt;/a&gt;]</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.41442</guid>
		<pubDate>Mon, 03 Jul 2006 19:53:30 -0800</pubDate>
		<dc:creator>peacay</dc:creator>
		
			<category>blogger</category>
		
			<category>template</category>
		
			<category>html</category>
		
	</item> <item>
		<title>By: Tuwa</title>
		<link>http://ask.metafilter.com/41442/Blogger-Template-Glitch#637890</link>	
		<description>It&apos;s not HTML; it&apos;s your CSS.  You have two floats, one to left (the main content) and one to right (the sidebar).  When there&apos;s not enough room to float them side by side, the browser drops one below the other and continues floating main to left and sidebar to right.&lt;br&gt;
&lt;br&gt;
510 px on your main div won&apos;t be enough if you (for instance) decided to drop a 500 px image into a blockquote:  the blockquote is indented and you have a 1px border and a 4px padding on your images, so that puts it at 510 px + indentation.  The best thing (as you&apos;ve discovered) is not to overfill your divs, but to make sure that all of your images are under 500 px.&lt;br&gt;
&lt;br&gt;
You can also &lt;a href=&quot;http://www.w3.org/TR/css3-box/#overflow&quot;&gt;add an overflow: declaration&lt;/a&gt; on the main div, which tells your browser what to do when the content is wider than the div allows.  I&apos;d recommend overflow:hidden; which seems to work well in both FF 1.5/win2000 and IE 5.0/win2000.&lt;br&gt;
&lt;br&gt;
The modified section of the code would be like so:&lt;br&gt;
&lt;br&gt;
#main {&lt;br&gt;
  width:510px;&lt;br&gt;
  float:left;&lt;br&gt;
  overflow:hidden;&lt;br&gt;
  }&lt;br&gt;
&lt;br&gt;
Also, as a bonus [unsolicited] tip: if you put height and width declarations on your images, the browser will know how much space to allocate for them before they&apos;re done downloading, which will prevent the browser window from redrawing constantly as the images finish downloading.  :-)&lt;br&gt;
&lt;br&gt;
Neat site, btw.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.41442-637890</guid>
		<pubDate>Mon, 03 Jul 2006 20:51:29 -0800</pubDate>
		<dc:creator>Tuwa</dc:creator>
	</item><item>
		<title>By: Tuwa</title>
		<link>http://ask.metafilter.com/41442/Blogger-Template-Glitch#637908</link>	
		<description>P.S. I have no clue about the Google Ads thing, sorry.  But IE alarms about the Javascript, and Google Ads rely on Javascript, so I&apos;d look over all the emails you got from various places advising on what to add where.&lt;br&gt;
&lt;br&gt;
The first one it errors about is on line 10:&lt;br&gt;
document.write(&apos;&amp;lt;li style=&quot;font-size:&apos;+fs+&apos;px;line-height:1;&quot;&amp;gt;&amp;lt;a style=&quot;color:rgb(&apos;+c[0]+&apos;,&apos;+c[1]+&apos;,&apos;+c[2]+&apos;)&quot; href=&quot;http://del.icio.us/BibliOdyssey/&apos;+encodeURIComponent(t).replace(&apos;%2F&apos;,&apos;/&apos;)+&apos;&quot;&amp;gt;&apos;+t+&apos;&amp;lt;/a&amp;gt; &amp;lt;/li&amp;gt;&apos;);</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.41442-637908</guid>
		<pubDate>Mon, 03 Jul 2006 21:07:29 -0800</pubDate>
		<dc:creator>Tuwa</dc:creator>
	</item><item>
		<title>By: peacay</title>
		<link>http://ask.metafilter.com/41442/Blogger-Template-Glitch#638054</link>	
		<description>Thanks very much Tuwa. The fact that I wrote html for css should tell you something about why a lot of what you have written doesn&apos;t quite &lt;em&gt;compute&lt;/em&gt;. I did go and skim through css basics however, and I&apos;ve added the &lt;em&gt;overflow:hidden&lt;/em&gt; property. &lt;br&gt;
&lt;br&gt;
I also glanced at the w3 validator and its finding of &amp;gt;500 errors but my eyes just glazed over. It might be different if I actually studied it (and I&apos;m quite partial to logic/problem solving) but occasional brushes with coding has never managed to develop any enthusiasm within me. I&apos;m definitely one of those lazy bastados who are thankful for automated blogging and perhaps we shouldn&apos;t be allowed near the style sheet &lt;em&gt;et al&lt;/em&gt;. I prefer to devote my energy to the content side of things.&lt;br&gt;
&lt;br&gt;
But I&apos;m still unsure where to go from here - I had no advice about placement of the googlead block: it&apos;s just a straight copy/paste of the code from google. And other changes to fix the original sidebar in IE problem were trial and error.&lt;br&gt;
&lt;br&gt;
Obviously I&apos;ve done &lt;em&gt;something&lt;/em&gt; untoward but I thought I had retraced my steps of the past few days, changing back values and moving/removing things in the sidebar to see if the adblock would appear but &lt;em&gt;nada&lt;/em&gt; - in other words, I really don&apos;t know what other changes I can make or how else to work out what is causing there to be a big empty space in the sidebar -- as I wrote in the [MI], the display on individual entry pages is normal. &lt;br&gt;
&lt;br&gt;
So if anyone passing has 2 cents of further thought to contribute, I&apos;d be happy to hear.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.41442-638054</guid>
		<pubDate>Tue, 04 Jul 2006 03:28:12 -0800</pubDate>
		<dc:creator>peacay</dc:creator>
	</item><item>
		<title>By: peacay</title>
		<link>http://ask.metafilter.com/41442/Blogger-Template-Glitch#640991</link>	
		<description>With the posting of a new entry the ad units returned for some reason.&lt;br&gt;
&lt;br&gt;
Just by the by, if anyone stumbles across this and experiences similarly weird problems, it was my intention to start another blog on blogspot choosing the same layout, as best I could remember and simply copy across the css code. I still might do this. &lt;br&gt;
&lt;br&gt;
It might not be the &apos;logic of coding&apos; but it strikes me as the best alternative to becoming further infuriated at my own woeful knowledge. But I intend being a bit more stringent with the way I operate (the &apos;height/width&apos; thing at least) from now on.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.41442-640991</guid>
		<pubDate>Thu, 06 Jul 2006 23:06:56 -0800</pubDate>
		<dc:creator>peacay</dc:creator>
	</item>
	</channel>
</rss>
