[San-diego-pm] Slightly off topic

Joe Crawford joe at artlung.com
Sun Jun 13 00:53:19 CDT 2004

On Sat, 12 Jun 2004, Joel Fentin wrote:
> 1. The following line of code in a javascript function works in IE but
> bombs in FireFox. Any cure?
> var range = document.body.createTextRange();

that's an MSIE thing only:

"There is no public standard that applies to this method."

> 2. The following HTML displays a text field. On several PC browsers it
> works fine in that it lets the underlying graphic shine through. On
> several/all Mac browsers, the text field is white. Any cure?
> You can see this line of code in action with your browser at:
> http://fentin.com/me/ContactMe.html
> <input name="T1" type="text" readonly="true" value="Send me an email"
> size="18" style="text-align:right; background-color:transparent;
> border:none; font-size:22pt">

I've not played with that, but since you've got a background pattern could
you not use background-image: and use the same background to simulate the
effect? But my test page - in Safari - seems to show no backgrounds in any
of these: http://lab.artlung.com/css/form-image-background/


Joe "ArtLung" Crawford   AIM:artlung   Phone:619-516-4550
LAMP Host Evangelist, Web Designer, Web Developer, WebSanDiego.org List Guy
http://joecrawford.com/  http://lamphost.net/  http://artlung.com/
http://artlung.com/blog/  http://sandiegobloggers.com/
http://sandiegoblog.com/  http://websandiego.org/

More information about the San-Diego-pm mailing list