<?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: Select text in web page</title>
	<link>http://ask.metafilter.com/30643/Select-text-in-web-page/</link>
	<description>Comments on Ask MetaFilter post Select text in web page</description>
	<pubDate>Wed, 11 Jan 2006 20:19:46 -0800</pubDate>
	<lastBuildDate>Wed, 11 Jan 2006 20:19:46 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Select text in web page</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page</link>	
		<description>What is it about some web sites that makes it very difficult to select and copy text?  &lt;br /&gt;&lt;br /&gt; An example of this behavior is &lt;a href=&quot;http://diveintomark.org/archives/2004/04/06/interoperability&quot;&gt;here&lt;/a&gt;. &lt;br&gt;
&lt;br&gt;
I have inspected the source of some of these sites, and most seem to use the DIV tag. But what about it leads the system to select the entirety of a block, or certain parts of a block, rather than the text selected by the mouse?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2006:site.30643</guid>
		<pubDate>Wed, 11 Jan 2006 20:15:46 -0800</pubDate>
		<dc:creator>yclipse</dc:creator>
		
			<category>web</category>
		
			<category>OS</category>
		
	</item> <item>
		<title>By: camcgee</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#481975</link>	
		<description>Using Firefox 1.5 on XP I&apos;m not having any problem selecting or copying the text--what browser/OS are you talking about?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-481975</guid>
		<pubDate>Wed, 11 Jan 2006 20:19:46 -0800</pubDate>
		<dc:creator>camcgee</dc:creator>
	</item><item>
		<title>By: juiceCake</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#481978</link>	
		<description>I can select any thing I want on that page, from a single letter, to double-clicking a word, to clicking and dragging over any type (Firefox.)&lt;br&gt;
&lt;br&gt;
However, sometimes, divs can be positioned over each other or overlap, not to mention hidden, which can affect selection at times. Or so I&apos;ve found in the past.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-481978</guid>
		<pubDate>Wed, 11 Jan 2006 20:21:58 -0800</pubDate>
		<dc:creator>juiceCake</dc:creator>
	</item><item>
		<title>By: Firas</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#481980</link>	
		<description>It acts weirdly in IE, which probably has to do with the fact that most of the elements are positioned using CSS and their appearance on the page is not in order of their appearance in the markup.&lt;br&gt;
&lt;br&gt;
So: file this one under IE brokenness.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-481980</guid>
		<pubDate>Wed, 11 Jan 2006 20:23:39 -0800</pubDate>
		<dc:creator>Firas</dc:creator>
	</item><item>
		<title>By: spilon</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#481981</link>	
		<description>Selects fine for me in Safari, FWIW.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-481981</guid>
		<pubDate>Wed, 11 Jan 2006 20:25:42 -0800</pubDate>
		<dc:creator>spilon</dc:creator>
	</item><item>
		<title>By: tiamat</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#481992</link>	
		<description>Also using Firefox, also works fine for me. I don&apos;t know if anyone has told you this yet yclipse, but internet explorer doesn&apos;t do a lot of the things a web browser is supposed to do, like obey standards. For that matter, it also does a lot of things its not supposed to do, like install software on your system without asking, and yes, prevent you from right-clicking or highlighting text.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-481992</guid>
		<pubDate>Wed, 11 Jan 2006 20:39:15 -0800</pubDate>
		<dc:creator>tiamat</dc:creator>
	</item><item>
		<title>By: AlisonM</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#481993</link>	
		<description>I am also able to select fine (Firefox 1.0.2, Win XP), but I see what you mean, I think - are you trying to select from the blank white area to the left of the column? (Like, are you starting your click &amp;amp; drag in that blank white area?)&lt;br&gt;
&lt;br&gt;
Maybe you&apos;re having trouble because of that. Try starting at the bottom of the paragraph/end of the line you want to end with, or start it JUST AT the first letter you want to select, seems to help for me.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-481993</guid>
		<pubDate>Wed, 11 Jan 2006 20:39:40 -0800</pubDate>
		<dc:creator>AlisonM</dc:creator>
	</item><item>
		<title>By: twiggy</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#481995</link>	
		<description>1) See Firas&apos;s post.&lt;br&gt;
&lt;br&gt;
2) Understand why the whole &quot;layout with tables is evil, use CSS for everything!&quot; argument may not always be a great one.&lt;br&gt;
&lt;br&gt;
3) profit?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
(firas is correct as to why selecting behaves annoyingly in IE... firefox does not have this same craptacular behavior, but I still use IE because I&apos;m a web developer in my spare time, and it&apos;s what I must use, since it&apos;s what my audience will be using)..</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-481995</guid>
		<pubDate>Wed, 11 Jan 2006 20:40:56 -0800</pubDate>
		<dc:creator>twiggy</dc:creator>
	</item><item>
		<title>By: charmston</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#481998</link>	
		<description>I have run into problems with text selection in IE when the element is positioned (either absolute, relative, or fixed; as long as position is defined) and the line-height is declared as well. Firas is right, it&apos;s just &lt;a href=&quot;http://www.positioniseverything.net/&quot;&gt;another IE problem&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-481998</guid>
		<pubDate>Wed, 11 Jan 2006 20:42:32 -0800</pubDate>
		<dc:creator>charmston</dc:creator>
	</item><item>
		<title>By: holloway</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#482086</link>	
		<description>Yeah, Juicecake is most correct. The html order vs screen order isn&apos;t really the issue here* -- IE just gets confused with overlapping DIVs in that it doesn&apos;t know which layer you&apos;re trying to select by dragging the mouse. The symptoms are that IE will select large areas rather than the few lines you were intending to select.&lt;br&gt;
&lt;br&gt;
Specifically it&apos;s overlapping divs that are placed using absolute positioning or floats with negative margins. Eg, an absolute positioned div that&apos;s overlapping with another div that&apos;s just in the flow of the page won&apos;t cause a problem.&lt;br&gt;
&lt;br&gt;
For a 3 column layout I usually absolute position my left and right columns, then leave the middle column in flow and use padding to place it further down the page. It&apos;s a bit of a hack but it&apos;s very cross-browser compatible.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-482086</guid>
		<pubDate>Wed, 11 Jan 2006 22:24:18 -0800</pubDate>
		<dc:creator>holloway</dc:creator>
	</item><item>
		<title>By: holloway</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#482088</link>	
		<description>&lt;small&gt;* natch, forgot to say that in everything I&apos;ve seen that&apos;s the case, but I&apos;d love to see some examples if I&apos;m wrong&lt;/small&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-482088</guid>
		<pubDate>Wed, 11 Jan 2006 22:25:15 -0800</pubDate>
		<dc:creator>holloway</dc:creator>
	</item><item>
		<title>By: polyglot</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#482105</link>	
		<description>yclipse, chalk it up to IE brokenness.  IE seems most broken with respect to CSS.  On preview, holloway beats me to it and I shall delete my inferior explanation.&lt;br&gt;
&lt;br&gt;
twiggy: &quot;my audience only uses IE&quot; is a bad assumption.  55% of visits to my site last month were Moz/FF, 40% IE, 5% Safari/Opera.  Admittedly that is partially due to some technical content and relatively web-savvy readers, but nevertheless.  That&apos;s not to say you shouldn&apos;t be mindful of IE bugs in your page design but I certainly would not design for it as the primary client.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-482105</guid>
		<pubDate>Wed, 11 Jan 2006 22:53:29 -0800</pubDate>
		<dc:creator>polyglot</dc:creator>
	</item><item>
		<title>By: Civil_Disobedient</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#482190</link>	
		<description>FYI, you can specify blocks that are not copyable in javascript.&lt;br&gt;
&lt;br&gt;
For instance:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
&amp;lt;input onfocus=&quot;this.blur();&quot; value=&quot;Can&apos;t touch this&quot; /&amp;gt;&lt;br&gt;
&lt;/code&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-482190</guid>
		<pubDate>Thu, 12 Jan 2006 04:46:15 -0800</pubDate>
		<dc:creator>Civil_Disobedient</dc:creator>
	</item><item>
		<title>By: clarissajoy</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#482336</link>	
		<description>I&apos;ve run into this problem before. It&apos;s a bug in IE6, where any text inside a div that is styled with position:absolute can not be selected. It doesn&apos;t appear to affect any other browsers, or other versions of IE.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-482336</guid>
		<pubDate>Thu, 12 Jan 2006 08:23:56 -0800</pubDate>
		<dc:creator>clarissajoy</dc:creator>
	</item><item>
		<title>By: holloway</title>
		<link>http://ask.metafilter.com/30643/Select-text-in-web-page#482720</link>	
		<description>clarissajoy: That&apos;s not right (it&apos;s too broad a statement). There&apos;s no problem with position:absolute -- using that works and text can still be selected.&lt;br&gt;
What causes the issue is overlapping DIVs.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.30643-482720</guid>
		<pubDate>Thu, 12 Jan 2006 14:34:46 -0800</pubDate>
		<dc:creator>holloway</dc:creator>
	</item>
	</channel>
</rss>
