[kdewebdev-webdeveloper] A very lovely IE annoyance: Textarea
static background
Isaak
isaak89 at hotmail.com
Sat Jun 7 07:23:14 EDT 2008
Dear web developers,
-----------------
Quote by me:
-----------------
As you brought the benchmarking up this really interests me, I'm going to test the differences in performance using PHP with XML and PHP with MySQL.
So if I'm correct, you would vote for PHP with XML as long as no file searching is done and the file is of small size? As a web developer using the database system most of the time I'm going to place my bet on PHP with MySQL using MyISAM tables (even though I'm not very confident about it).
I'm going to give this some time and let you know the results.
---
First I'd like to apologize to those who were waiting for this result from an old conversation, I dropped the benchmarking and continued with the development so unfortunately I cannot tell you the results.
New conversation:
Months have passed by and I'm still working on the project from our last conversation and I'm learning a lot of new design and scripting tricks. But currently there is something which I just cannot get solved: I'm using a background image in a textarea element which I align to the left and which I try to position "fixed".
There is no hesitation that we, web developers, love the IE browser but for once in my time as web developer IE is causing a correctly written (by the standards) CSS style to display the textarea background differently than other browsers that support the standards...
So, leaving the sarcasm out: how do I position the background in a textarea element as "fixed"?
Mozilla browsers, Opera and yes... IE 6 too! (and probably also Safari and Konqueror) position the background image as "fixed" by using the following CSS code:
----
background: #FFF url(../../img/c/fb.png) left center no-repeat;
----
While IE 7 doesn't position the background image as "fixed". Even the following code does not hack it (which I found on the internet):
----
background: #FFF url(../../img/c/fb.png) center fixed no-repeat;
----
The internet cannot answer my question and I'd like to know if anyone here knows a hack to get the right result in IE 7, I prefer pure CSS but if that's not possible I'll accept a JavaScript hack.
Many thanks in advance
Kinds regards,
Isaak Malik
_________________________________________________________________
Lentekriebels? Deel ze gratis met je vrienden dankzij Windows Live!
http://get.live.com
More information about the kdewebdev-webdeveloper
mailing list