16 replies [Last post]
fambi
Offline
Enthusiast
Last seen: 13 years 27 weeks ago
Joined: 2004-08-26
Posts: 269
Points: -1

Can anyone tell me why it is so difficult to select some text on our site:

http://www.tm4b.com

I just can't understand it.

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 7 years 39 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

Highlighting text

Which text is difficult to highlight? I was able to highlight everything on multilple pages. Why is it of such concern, anyway? At any rate, I'm guessing (and this is only a guess) that it's because of all the absolute positioning going on.

fambi
Offline
Enthusiast
Last seen: 13 years 27 weeks ago
Joined: 2004-08-26
Posts: 269
Points: -1

Highlighting text

For example, can you highlight the words "Daimler Chrysler"?

Anonymous
Anonymous's picture
Guru

Highlighting text

fambi wrote:
For example, can you highlight the words "Daimler Chrysler"?
Yes, and everything else. :shrug:

Replace your mouse fluid and run it for 100 miles and see if that helps. Laughing out loud

fambi
Offline
Enthusiast
Last seen: 13 years 27 weeks ago
Joined: 2004-08-26
Posts: 269
Points: -1

Highlighting text

How odd!!!

When i try to highlight a certain piece of text, a paragraph on the opposite side of the page gets highlighted.

Sometimes i have to click a hundred times to get the paragraph as a whole and then paste it somewhere else to get the few words i wanted.

Nothing to do with the mouse though, everything is normal on every other site except ours!!!

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 7 years 39 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

Highlighting text

Let me make another guess - you're using IE, right?

fambi
Offline
Enthusiast
Last seen: 13 years 27 weeks ago
Joined: 2004-08-26
Posts: 269
Points: -1

Highlighting text

Right!

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 38 weeks 4 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Highlighting text

It is likely that another element is masking the area of interest. Using AP elements are a common culprit. Floats can do it too. The key is an out of flow condition. It seems to be an IE problem. Part of your problem now is to sort it out. It is not a job I'd relish, as your DOM is nested quite deep. The h2 "Spotlight: Daimler… " is nested 13 levels down.

 
<html> 
  <body> 
    <div id="pageWrapper"> 
      <div id="outer Colu..."> 
        <div id=inner Col..."> 
          <div  id="SOWrap"> 
            <div  id="middleColumn"> 
              <table> 
                <tbody> 
                  <tr> 
                    <td id="maincol"> 
                      <div class="illustration"> 
                        <h2>Eureka!

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

fambi
Offline
Enthusiast
Last seen: 13 years 27 weeks ago
Joined: 2004-08-26
Posts: 269
Points: -1

Highlighting text

Hi Gary,

Thanks for your help but the problem is also suffered when attempting to highlight the words "Bulk SMS Gateway" (which can't be more than 2/3 layers deep).

Note: The words "Bulk SMS Gateway" within the logo are straight <h1>text</h1> and not part of an image.

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 7 years 39 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

Highlighting text

And that logo div is? is? what? positioned absolutely? maybe?

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 38 weeks 4 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Highlighting text

I'm stumped. The only thing I could see at all was that entire cells or tables were being selected.

I don't see any reason to use tables in this layout, anyway, so why not try a rewrite without them?

Not much help, am I? Sad

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

fambi
Offline
Enthusiast
Last seen: 13 years 27 weeks ago
Joined: 2004-08-26
Posts: 269
Points: -1

Highlighting text

wolfcry911 wrote:
And that logo div is? is? what? positioned absolutely? maybe?

Yep. Its positioned absolutely.

Quote:
I don't see any reason to use tables in this layout, anyway, so why not try a rewrite without them?

Tables are necessary as part of the overall template.

Anonymous
Anonymous's picture
Guru

Highlighting text

fambi wrote:
Tables are necessary as part of the overall template.
How long have you been here?

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 9 weeks 1 day ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9674
Points: 810

Highlighting text

Yep - that's an easy layout to replicate with CSS.

Verschwindende wrote:
  • CSS doesn't make pies

wisbin
Offline
Enthusiast
Netherlands
Last seen: 17 years 4 weeks ago
Netherlands
Joined: 2004-10-28
Posts: 71
Points: 0

Re: Highlighting text

fambi wrote:
Can anyone tell me why it is so difficult to select some text on our site:

http://www.tm4b.com

I just can't understand it.

It is because of IE and absolute positioning.

You can make it go away, by adding the xml prolog on the very first line of your document, before the doctype.

<?xml version="1.0" encoding="iso-8859-1"?>

This puts Explorer 6 Windows, into quirks mode.

Microsoft implemented this to allow web developers to achieve valid pages (which require a doctype) but nonetheless stay in quirks mode.

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 9 weeks 1 day ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9674
Points: 810

Highlighting text

Shock

Well, I guess if you want it in Quirks Mode that's exatcly the way to go about it Laughing out loud

Verschwindende wrote:
  • CSS doesn't make pies

Anonymous
Anonymous's picture
Guru

Re: Highlighting text

wisbin wrote:
Microsoft implemented this to allow web developers to achieve valid pages (which require a doctype) but nonetheless stay in quirks mode.
That's news. I really wouldn't put it past M$ to do this on purpose. Laughing out loud

thepineapplehead wrote:
Shock

Well, I guess if you want it in Quirks Mode that's exatcly the way to go about it Laughing out loudLaughing out loud I guess you are correct.

I guess you can put it into quirks mode purposely or you could code your markup and css properly. Laughing out loud