Hi Josh,

There's a big bug, that's for sure. There *is* a javascript fix, but
it has some small side effects itself (a page flicker when the page
first loads in IE browsers with their cache set to check every time).
The original site I found the fix on is no longer there, but I
deployed it on this site: http://www.primarysales.com.au/

The code is:
// fix absolute positioning text selection problem with IE6
if (window.createPopup && document.compatMode &&
document.compatMode=="CSS1Compat"){
  document.onreadystatechange = onresize = function fixIE6AbsPos(){
    if (!document.body) return;
    if (document.body.style.margin != "0px") document.body.style.margin = 0;
    onresize = null;
    document.body.style.height = 0;
    setTimeout(function(){ document.body.style.height =
document.documentElement.scrollHeight+'px'; }, 1);
    setTimeout(function(){ onresize = fixIE6AbsPos; }, 100);
  }
}

HTH,
Kay.

--
Kay Smoljak
http://kay.zombiecoder.com/



On 1/23/06, Joshua Street <[EMAIL PROTECTED]> wrote:
> At least, I'm fairly certain the absolutely positioned elements are
> causing the problem(s).
>
> I can't give an example page (NDA, and it's too complex to bother
> recreating -- the complexity is probably part of the reason it's so
> bad when text is selected/copied), just wondering if anyone else has
> created sites in which absolute positioning is used extensively -- to
> the (unintentional) detriment of text selection capabilities, and,
> most importantly, if there are any known solutions to this problem.
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to