Hello,
I'm having difficutlties with a website I've been designing. The problem is selecting text on the client side using Internet Explorer (6.0).
It is difficult to explain, so I'll just show you. If you go to my website at http://www.astronomyinfo.net and try to select the text in the body it will not work well at all. It will select the whole CSS division.
That's a PHP page with a .php extension (default.php) the images URLs are retrieved from a MySQL database. Anyway, now if you go to a page where I've just changed the .php to a .html extenstion like this one http://www.astronomyinfo.net/test.html you can see you'll be able to select the text. This has been the thorn in my side.
I had origionally thought it was due to CSS absolute positioning, but am not so sure now due to what I've just found out with this testing. I made .html files parse as php as a test and that did nothing...the problem still existed. I'm really at a loss as what to do. Has anyone had this problem before?
Thanks in advance for any help,
Eric
PHP causing problems when selecting text
Moderator: General Moderators
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
I just cleared the cache on my IE 6.0 and tried it. It selects text, it just selects ALL of it which is the problem. You can't just pick out a couple of words.
What browser are you using? It works (at least it did before I changed things) on Mozilla/Netscape/Firefox.
Thanks in advance for the help,
Eric
What browser are you using? It works (at least it did before I changed things) on Mozilla/Netscape/Firefox.
Thanks in advance for the help,
Eric
- no_memories
- Forum Contributor
- Posts: 145
- Joined: Sun Feb 01, 2004 7:12 pm
- Location: New York City
IE, the new NS4.
Billy Boy was determined to integrate IE in with the Windows OS, and now we all have to suffer because of it.
The problem with IE 6 (SP1) is that its patched to its limit.
Microsoft has already said the next version of IE won't be until XP's offspring hits the market. Rumor has it to sometime in 2005? Looks like we are stuck with that bloated program for awhile.
In hindsight, it does handle certain dynamic java related stuff well, but when it comes to standards... BLAH!!
Yay, they gobbled up the browser market and now they don't want to fix their <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span>.
Billy Boy was determined to integrate IE in with the Windows OS, and now we all have to suffer because of it.
The problem with IE 6 (SP1) is that its patched to its limit.
Microsoft has already said the next version of IE won't be until XP's offspring hits the market. Rumor has it to sometime in 2005? Looks like we are stuck with that bloated program for awhile.
In hindsight, it does handle certain dynamic java related stuff well, but when it comes to standards... BLAH!!
Yay, they gobbled up the browser market and now they don't want to fix their <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span>.
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
Thanks guys for all the replies. I was able to fix it using relative positioning and removing the z-index on one item (which breaks something on IE, but I"ll find another way to make it work). You can take a look at the root domain again and take a look.
On a semi-related question is there any harm in IIS to have html files parsed with PHP? The way I did it was to just a html extenstion and point that to the C:\pHP\php.exe (forget what it is) in the "Applicable Extensions" under the configuration tab of the website in IIS.
Is there any other way or is this way the only and best? <grin>
Thanks in advance,
Eric
On a semi-related question is there any harm in IIS to have html files parsed with PHP? The way I did it was to just a html extenstion and point that to the C:\pHP\php.exe (forget what it is) in the "Applicable Extensions" under the configuration tab of the website in IIS.
Is there any other way or is this way the only and best? <grin>
Thanks in advance,
Eric