Textfield different colors in IE only..

R

Robert Mark Bram

Howdy All!

Below is a short extract of a larger page that still shows the defect in
question.

When I view the document below in IE 6, the first text field, address, is
shown in white, while the second text field is shown in yellow. I cannot
account for this - the syntax for both is the same! This only occurs in IE -
not in Netscape or Opera..

Any ideas would be most appreciated!

Rob
:)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" />
<html>
<head>
<title>MCD 1410, Trimester 1, 2004. Major Assignment</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
</head>
<body>
<form name="ContactEntry" >
<fieldset>
<legend>Enter new contact details here</legend>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="18%"><div align="right">Address:</div></td>
<td width="2%">&nbsp;</td>
<td width="80%"><input type="text"
name="ContactEntryAddress" size="40"></td>
</tr>
<tr>
<td width="18%"><div align="right">Email:</div></td>
<td width="2%">&nbsp;</td>
<td width="80%"><input type="text"
name="ContactEntryEmail" size="40"></td>
</tr>
</table>
</fieldset>
</form>
</body>
</html>
 
R

rf

Robert Mark Bram said:
Howdy All!

Below is a short extract of a larger page that still shows the defect in
question.

What defect? Oh, you mean the difference you mention in your subject.
When I view the document below in IE 6, the first text field, address, is
shown in white, while the second text field is shown in yellow. I cannot
account for this - the syntax for both is the same! This only occurs in IE -
not in Netscape or Opera..

Any ideas would be most appreciated!

<snip code>

The code you provided (after I labourously copy/pasted it into my browser)
works fine, probably because I am totally missing your CSS file.

Provide a URL next time.

Cheers
Richard.
 
E

Els

Robert said:
Howdy All!

Below is a short extract of a larger page that still shows the defect in
question.

When I view the document below in IE 6, the first text field, address, is
shown in white, while the second text field is shown in yellow. I cannot
account for this - the syntax for both is the same! This only occurs in IE -
not in Netscape or Opera..

Any ideas would be most appreciated!

I'm not sure of this, but I recently read a similar
question, and the answer was that it had to do with the
Google bar, which might give color to a text field.
Can't reproduce it with my own Google bar, but I'm positive
I read something like that.
 
R

Robert Mark Bram

The code you provided (after I labourously copy/pasted it into my browser)
works fine, probably because I am totally missing your CSS file.

Provide a URL next time.

Sorry to inconvenience you Dick. I laboriously checked and double checked
the file and somehow managed not to find reference to a CSS file.

Don't answer my posts next time.

Cheers,
Rob
 
R

Robert Mark Bram

Hi Els!
I'm not sure of this, but I recently read a similar
question, and the answer was that it had to do with the
Google bar, which might give color to a text field.
Can't reproduce it with my own Google bar, but I'm positive
I read something like that.

Thank you very much for the response. I do indeed have the Google Toolbar
and did some searching with your hints in mind - you are right:

There is an 'AutoFill' option on the Google Toolbar (switched on by
default), that will 'helpfully' highlight form fields with certain names
such as 'email' or 'name'.
Source: http://www.htmldog.com/ptg/archives/000017.php

After I turn the autofill function off, the web page returns to a normal
display!

Thank you again!

Rob
:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top