Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Selecting text in Internet Explorer (bug)

0 views
Skip to first unread message

Rory Parle

unread,
Aug 19, 2003, 8:20:22 PM8/19/03
to
My problem stems from a bug in Internet Explorer (I have version 6 on
Windows XP; I haven't verified the problem on any other platform). If
you go to <http://www.soylentred.net/> and try to select some text, IE
highlights the whole page from the beginning to the point where you
started to select. Can anyone tell me what might be causing this? I'd
like to fix it but I don't want any noticeable changes (except the fix
of course!)

I've narrowed it down to the stylesheet
<http://www.soylentred.net/kk.css>, but I don't want to spend ages
searching for the direct cause if someone has already seen this bug
and knows how to fix it. Can you help?

Incidentally, all comments about the site are welcome (both here and
there).

--
Rory Parle

Philipp Lenssen

unread,
Aug 20, 2003, 5:35:25 AM8/20/03
to
In article <bhuesc$plm$1...@dorito.esatclear.ie>, fin...@esatclear.ie
says...

> My problem stems from a bug in Internet Explorer (I have version 6 on
> Windows XP; I haven't verified the problem on any other platform). If
> you go to <http://www.soylentred.net/> and try to select some text, IE
> highlights the whole page from the beginning to the point where you
> started to select. Can anyone tell me what might be causing this? I'd
> like to fix it but I don't want any noticeable changes (except the fix
> of course!)
>
> I've narrowed it down to the stylesheet
> <http://www.soylentred.net/kk.css>, but I don't want to spend ages
> searching for the direct cause if someone has already seen this bug
> and knows how to fix it. Can you help?
>

Yes. This one is causing the IExplorer bug:

div.pagecontent {
position: absolute; <---


I've seen it many times before and it's really bad, since I didn't find
any other workaround but to not use absolute positioning for the content
div. (You can still use it for other elements though and so create a
relative positioning for the content, which has the same results.)

Rory Parle

unread,
Aug 20, 2003, 7:37:02 PM8/20/03
to

Thanks Philipp, that's fixed it. It's safe enough to position the main
content by manipulating its margins, and to use absolute positioning
to place everything else inside these margins. That's actually what I
did with the previous style (and what I've made the current one do
now). I guess when I test new styles now I'll have to make sure they
*behave* right aswell as looking right. It just keeps getting harder...

--
Rory Parle

Philipp Lenssen

unread,
Aug 21, 2003, 6:20:34 AM8/21/03
to
In article <bi10ms$nfl$1...@dorito.esatclear.ie>, fin...@esatclear.ie
says...
> (...)

> Thanks Philipp, that's fixed it. It's safe enough to position the main
> content by manipulating its margins, and to use absolute positioning
> to place everything else inside these margins. That's actually what I
> did with the previous style (and what I've made the current one do
> now). I guess when I test new styles now I'll have to make sure they
> *behave* right aswell as looking right. It just keeps getting harder...
>

Yes. Internet Explorer introduced this nice feature in version 6 I
believe, and I had to redo a whole of stylesheets.

0 new messages