<?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: Turn off resize textarea in Chrome &amp; Safari</title>
	<atom:link href="http://brett.batie.com/htmlcss/no-resize-textarea-in-chrome-safari/feed/" rel="self" type="application/rss+xml" />
	<link>http://brett.batie.com/htmlcss/no-resize-textarea-in-chrome-safari/</link>
	<description>Thoughts of a Software Engineer.</description>
	<lastBuildDate>Wed, 08 Sep 2010 19:40:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jotun</title>
		<link>http://brett.batie.com/htmlcss/no-resize-textarea-in-chrome-safari/comment-page-1/#comment-3965</link>
		<dc:creator>Jotun</dc:creator>
		<pubDate>Fri, 31 Jul 2009 20:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://brett.batie.com/?p=170#comment-3965</guid>
		<description>Thanks for the help.
However, I had a little bit of difficulty. Using Chrome 2.0.172.37, implementing either the max-height and max-width values equal to the original dimensions of the textarea somehow only led to the textarea being resizeable in one direction (horizontally, if the max-width was the first declaration in the code or vertically if max-height came first). And when only putting in the resize: none; to the style (not maximum dimension values), the textarea was resizeable. But when adding both the resize: none; and maximum dimension values, the textarea remained fixed.

Here&#039;s my code:


#note_edit_pane{
	width: 600px;
	height: 450px;
	&lt;!--fixes for chrome and safari so it doesn&#039;t allow the field to be resized--&gt;
	resize: none;
	max-width: 600px;
	max-height: 450px;
}


....

After messing around a bit more with the code, it appears as if the html comment makes the next line of code be ignored. Using a css comment /*  */, however, it fixes the problem. d&#039;oh.



On a side note, I&#039;m writing this post in chrome in a text area, that ironically, can be resized to the extent that it breaks the page.</description>
		<content:encoded><![CDATA[<p>Thanks for the help.<br />
However, I had a little bit of difficulty. Using Chrome 2.0.172.37, implementing either the max-height and max-width values equal to the original dimensions of the textarea somehow only led to the textarea being resizeable in one direction (horizontally, if the max-width was the first declaration in the code or vertically if max-height came first). And when only putting in the resize: none; to the style (not maximum dimension values), the textarea was resizeable. But when adding both the resize: none; and maximum dimension values, the textarea remained fixed.</p>
<p>Here&#8217;s my code:</p>
<p>#note_edit_pane{<br />
	width: 600px;<br />
	height: 450px;<br />
	<!--fixes for chrome and safari so it doesn't allow the field to be resized--><br />
	resize: none;<br />
	max-width: 600px;<br />
	max-height: 450px;<br />
}</p>
<p>&#8230;.</p>
<p>After messing around a bit more with the code, it appears as if the html comment makes the next line of code be ignored. Using a css comment /*  */, however, it fixes the problem. d&#8217;oh.</p>
<p>On a side note, I&#8217;m writing this post in chrome in a text area, that ironically, can be resized to the extent that it breaks the page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norman</title>
		<link>http://brett.batie.com/htmlcss/no-resize-textarea-in-chrome-safari/comment-page-1/#comment-3379</link>
		<dc:creator>Norman</dc:creator>
		<pubDate>Sat, 04 Jul 2009 17:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://brett.batie.com/?p=170#comment-3379</guid>
		<description>thanks a lot. what an annoying &quot;feature&quot;. :)</description>
		<content:encoded><![CDATA[<p>thanks a lot. what an annoying &#8220;feature&#8221;. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XBS from Forex Service</title>
		<link>http://brett.batie.com/htmlcss/no-resize-textarea-in-chrome-safari/comment-page-1/#comment-3100</link>
		<dc:creator>XBS from Forex Service</dc:creator>
		<pubDate>Fri, 26 Jun 2009 01:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://brett.batie.com/?p=170#comment-3100</guid>
		<description>Thank you very much. Worked like a charm. Now I&#039;ve finally fixed my registration form.</description>
		<content:encoded><![CDATA[<p>Thank you very much. Worked like a charm. Now I&#8217;ve finally fixed my registration form.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danish Backer</title>
		<link>http://brett.batie.com/htmlcss/no-resize-textarea-in-chrome-safari/comment-page-1/#comment-2898</link>
		<dc:creator>Danish Backer</dc:creator>
		<pubDate>Fri, 19 Jun 2009 10:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://brett.batie.com/?p=170#comment-2898</guid>
		<description>Thanks a lot!
It worked.

One more help needed
How to remove yellow highlight in chrome?</description>
		<content:encoded><![CDATA[<p>Thanks a lot!<br />
It worked.</p>
<p>One more help needed<br />
How to remove yellow highlight in chrome?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ZAM</title>
		<link>http://brett.batie.com/htmlcss/no-resize-textarea-in-chrome-safari/comment-page-1/#comment-647</link>
		<dc:creator>ZAM</dc:creator>
		<pubDate>Mon, 06 Apr 2009 11:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://brett.batie.com/?p=170#comment-647</guid>
		<description>Very nice, thanks for the help...!!</description>
		<content:encoded><![CDATA[<p>Very nice, thanks for the help&#8230;!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor Skomorokh</title>
		<link>http://brett.batie.com/htmlcss/no-resize-textarea-in-chrome-safari/comment-page-1/#comment-483</link>
		<dc:creator>Igor Skomorokh</dc:creator>
		<pubDate>Wed, 18 Mar 2009 14:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://brett.batie.com/?p=170#comment-483</guid>
		<description>Thank you very much! Very helpful info.</description>
		<content:encoded><![CDATA[<p>Thank you very much! Very helpful info.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
