<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Removing iframe Horizontal Scrollbar	</title>
	<atom:link href="https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/feed/" rel="self" type="application/rss+xml" />
	<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/</link>
	<description>Life is not all beer and skittles</description>
	<lastBuildDate>Thu, 04 Jul 2019 19:07:14 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Nelson		</title>
		<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/#comment-885</link>

		<dc:creator><![CDATA[Nelson]]></dc:creator>
		<pubDate>Tue, 02 Dec 2008 14:24:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.flirt-wind.net/2008/02/removing-iframe-horizontal-scrollbar/#comment-885</guid>

					<description><![CDATA[Hello Peter,

First of all thank you very much for the very informative comment. I think I haven&#039;t heard anything about that that quirks mode before but I must say that for my part, even though you stated that having illegal content before the doctype has the same effect as an invalid doctype or having no doctype at all, I still consider it &quot;harmless&quot; by the mere basis that the validator accepted it without any warnings.

I have tried using an XML declaration before but it didn&#039;t turn out valid when I checked it. I didn&#039;t know if there was only a typo but one thing&#039;s for sure: from that day until today, I haven&#039;t used it again and stuck to the meta tag instead. Lastly, I think there are still a lot of IE users out there who use 6.]]></description>
			<content:encoded><![CDATA[<p>Hello Peter,</p>
<p>First of all thank you very much for the very informative comment. I think I haven&#8217;t heard anything about that that quirks mode before but I must say that for my part, even though you stated that having illegal content before the doctype has the same effect as an invalid doctype or having no doctype at all, I still consider it &#8220;harmless&#8221; by the mere basis that the validator accepted it without any warnings.</p>
<p>I have tried using an XML declaration before but it didn&#8217;t turn out valid when I checked it. I didn&#8217;t know if there was only a typo but one thing&#8217;s for sure: from that day until today, I haven&#8217;t used it again and stuck to the meta tag instead. Lastly, I think there are still a lot of IE users out there who use 6.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Peter		</title>
		<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/#comment-886</link>

		<dc:creator><![CDATA[Peter]]></dc:creator>
		<pubDate>Tue, 02 Dec 2008 10:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.flirt-wind.net/2008/02/removing-iframe-horizontal-scrollbar/#comment-886</guid>

					<description><![CDATA[Nelson,

The W3C specification for XHTML states &quot;There must be a DOCTYPE declaration in the document prior to the root element&quot; (http://www.w3.org/TR/xhtml-basic/#s2.1)

Now exactly how this is interpreted, differs (of course) between browsers. Most browsers will allow most whitespace characters before the doctype, though Internet Explorer (versions 6 - 8b2) and Opera will not allow a non-breaking space (Alt-0160). Firefox and Safari will allow anything that is not a tag (for example ), even plain text. Internet Explorer (all versions) will not allow comments before the doctype either, but all other browsers do.

Having illegal content before the doctype has the same effect as an invalid doctype or having no doctype at all; the page is interpreted in quirks (backwards compatibility) mode.

Now, back to the horizontal scrollbar. I have also witnessed this, it happens in Internet Explorer 6 with iframes (and normal frames?) where the content is forced to 100% wide, and the content document is standards compliant. (Clearly a bug in IE6&#039;s standards compliance.)

What now, if you don&#039;t want that scrollbar, but still needs pages that can be tested for standard compliance? Internet Explorer 6, in all it&#039;s wisdom, does not even allow an XML declaration (for example ) before the doctype. All other browsers I tested, including newer versions of IE, do allow the XML declaration. So just add an XML declaration before the doctype of the iframe contents document, and you will not have a horizontal scrollbar anymore. Of course, this may mean you will have to deal with other weirdness in the document because it&#039;s rendered in quirks mode in IE6 (only)....

Some more info about quirks mode:
http://www.cs.tut.fi/~jkorpela/quirks-mode.html
http://www.quirksmode.org/]]></description>
			<content:encoded><![CDATA[<p>Nelson,</p>
<p>The W3C specification for XHTML states &#8220;There must be a DOCTYPE declaration in the document prior to the root element&#8221; (<a href="http://www.w3.org/TR/xhtml-basic/#s2.1" rel="nofollow ugc">http://www.w3.org/TR/xhtml-basic/#s2.1</a>)</p>
<p>Now exactly how this is interpreted, differs (of course) between browsers. Most browsers will allow most whitespace characters before the doctype, though Internet Explorer (versions 6 &#8211; 8b2) and Opera will not allow a non-breaking space (Alt-0160). Firefox and Safari will allow anything that is not a tag (for example ), even plain text. Internet Explorer (all versions) will not allow comments before the doctype either, but all other browsers do.</p>
<p>Having illegal content before the doctype has the same effect as an invalid doctype or having no doctype at all; the page is interpreted in quirks (backwards compatibility) mode.</p>
<p>Now, back to the horizontal scrollbar. I have also witnessed this, it happens in Internet Explorer 6 with iframes (and normal frames?) where the content is forced to 100% wide, and the content document is standards compliant. (Clearly a bug in IE6&#8217;s standards compliance.)</p>
<p>What now, if you don&#8217;t want that scrollbar, but still needs pages that can be tested for standard compliance? Internet Explorer 6, in all it&#8217;s wisdom, does not even allow an XML declaration (for example ) before the doctype. All other browsers I tested, including newer versions of IE, do allow the XML declaration. So just add an XML declaration before the doctype of the iframe contents document, and you will not have a horizontal scrollbar anymore. Of course, this may mean you will have to deal with other weirdness in the document because it&#8217;s rendered in quirks mode in IE6 (only)&#8230;.</p>
<p>Some more info about quirks mode:<br />
<a href="http://www.cs.tut.fi/~jkorpela/quirks-mode.html" rel="nofollow ugc">http://www.cs.tut.fi/~jkorpela/quirks-mode.html</a><br />
<a href="http://www.quirksmode.org/" rel="nofollow ugc">http://www.quirksmode.org/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nelson		</title>
		<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/#comment-883</link>

		<dc:creator><![CDATA[Nelson]]></dc:creator>
		<pubDate>Mon, 11 Aug 2008 12:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.flirt-wind.net/2008/02/removing-iframe-horizontal-scrollbar/#comment-883</guid>

					<description><![CDATA[Oi,

I&#039;m really pleased to finally hear from someone who also finds this little &#039;fix&#039; effective.

Glad to be of help, &lt;em&gt;machan&lt;/em&gt;. :smile:]]></description>
			<content:encoded><![CDATA[<p>Oi,</p>
<p>I&#8217;m really pleased to finally hear from someone who also finds this little &#8216;fix&#8217; effective.</p>
<p>Glad to be of help, <em>machan</em>. 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: vasaa		</title>
		<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/#comment-884</link>

		<dc:creator><![CDATA[vasaa]]></dc:creator>
		<pubDate>Mon, 11 Aug 2008 12:26:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.flirt-wind.net/2008/02/removing-iframe-horizontal-scrollbar/#comment-884</guid>

					<description><![CDATA[hi..machan(thats one of word for friend in our country..)
thanks lot..
i also dieying with iframe horizontal scrollbar..now fixed it..
thanx..again.
bye]]></description>
			<content:encoded><![CDATA[<p>hi..machan(thats one of word for friend in our country..)<br />
thanks lot..<br />
i also dieying with iframe horizontal scrollbar..now fixed it..<br />
thanx..again.<br />
bye</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: koko		</title>
		<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/#comment-878</link>

		<dc:creator><![CDATA[koko]]></dc:creator>
		<pubDate>Sat, 09 Feb 2008 10:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.flirt-wind.net/2008/02/removing-iframe-horizontal-scrollbar/#comment-878</guid>

					<description><![CDATA[wooow... Spring waltz is an installment of the Endless Love series???

Woah.

ooh, Good luck with the exaaaammmm!!!!   :cheerful: :angel: :wink:]]></description>
			<content:encoded><![CDATA[<p>wooow&#8230; Spring waltz is an installment of the Endless Love series???</p>
<p>Woah.</p>
<p>ooh, Good luck with the exaaaammmm!!!!   :cheerful: :angel: 😉</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: usame		</title>
		<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/#comment-881</link>

		<dc:creator><![CDATA[usame]]></dc:creator>
		<pubDate>Thu, 07 Feb 2008 12:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.flirt-wind.net/2008/02/removing-iframe-horizontal-scrollbar/#comment-881</guid>

					<description><![CDATA[Hello Nelson. Goodluck to that exam in OS :D I believe you will do well. Have a great day]]></description>
			<content:encoded><![CDATA[<p>Hello Nelson. Goodluck to that exam in OS 😀 I believe you will do well. Have a great day</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christian		</title>
		<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/#comment-880</link>

		<dc:creator><![CDATA[Christian]]></dc:creator>
		<pubDate>Thu, 07 Feb 2008 12:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flirt-wind.net/2008/02/removing-iframe-horizontal-scrollbar/#comment-880</guid>

					<description><![CDATA[Talaga? Fourth and last installment ng Endless Love ang Spring Waltz. Nagyon ko lang nalaman. Ang weird kasi eh, bakit ba sa 2 kasi ipinalabas. Lol. I&#039;m not a fan of koreanovelas, madalang lang akong manood ng mga ganyan, the last koreanovela I watched was Princess Hours.]]></description>
			<content:encoded><![CDATA[<p>Talaga? Fourth and last installment ng Endless Love ang Spring Waltz. Nagyon ko lang nalaman. Ang weird kasi eh, bakit ba sa 2 kasi ipinalabas. Lol. I&#8217;m not a fan of koreanovelas, madalang lang akong manood ng mga ganyan, the last koreanovela I watched was Princess Hours.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: christel		</title>
		<link>https://nelson.ph/2008/02/removing-iframe-horizontal-scrollbar/#comment-879</link>

		<dc:creator><![CDATA[christel]]></dc:creator>
		<pubDate>Thu, 07 Feb 2008 10:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.flirt-wind.net/2008/02/removing-iframe-horizontal-scrollbar/#comment-879</guid>

					<description><![CDATA[oooooh.. spring waltz.. endless love series pala. i haven&#039;t tried watching it.maybe i should watch one of these days.. haha i notice that everyone watches it. :)

good luck with your exam. :)

&lt;em&gt;Today is Ash Wednesday, but I’m not going to the church. :sad: I’m becoming the devil.&lt;/em&gt; -- that made me LOL. xD]]></description>
			<content:encoded><![CDATA[<p>oooooh.. spring waltz.. endless love series pala. i haven&#8217;t tried watching it.maybe i should watch one of these days.. haha i notice that everyone watches it. 🙂</p>
<p>good luck with your exam. 🙂</p>
<p><em>Today is Ash Wednesday, but I’m not going to the church. 🙁 I’m becoming the devil.</em> &#8212; that made me LOL. xD</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
