Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Textfield different colors in IE only..

Reply
Thread Tools

Textfield different colors in IE only..

 
 
Robert Mark Bram
Guest
Posts: n/a
 
      02-17-2004
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>


 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      02-17-2004

"Robert Mark Bram" <(E-Mail Removed)> wrote in message
news:4031ec22$0$4255$(E-Mail Removed) ...
> 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.


 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      02-17-2004

Robert Mark Bram wrote:

> 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.

> 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>
>
>


--
Els

Mente humana é como pára-quedas; funciona melhor aberta.

 
Reply With Quote
 
P.J.M. Smit
Guest
Posts: n/a
 
      02-17-2004
not in mine
Peter
"Robert Mark Bram" <(E-Mail Removed)> schreef in
bericht news:4031ec22$0$4255$(E-Mail Removed) ...
> 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>
>
>



 
Reply With Quote
 
Robert Mark Bram
Guest
Posts: n/a
 
      02-23-2004
> 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


 
Reply With Quote
 
Robert Mark Bram
Guest
Posts: n/a
 
      02-23-2004
Hi Els!

> > 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..


> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any library that can convert RGB colors to ANSI colors? ZelluX Python 3 12-01-2008 11:08 AM
TreeNode colors come from anchor colors AAaron123 ASP .Net 1 08-07-2008 07:56 PM
In the same dropdownlistbox, I need bold, italic and different colors in Carlos Arra via .NET 247 ASP .Net 3 04-26-2006 07:46 PM
Using different Quote Level Colors union man Firefox 1 10-22-2005 01:48 PM
different colors for messages in the validation summary =?Utf-8?B?c3lsdmFpbg==?= ASP .Net 1 07-21-2005 05:04 PM



Advertisments