Article View: comp.lang.javascript
Article #111Possibly OT. IE6 and background colors..
From: The Natural Philosopher
Date: Fri, 26 Oct 2007 08:56
Date: Fri, 26 Oct 2007 08:56
86 lines
4139 bytes
4139 bytes
Another extremely weird feature from iE6
I have a site, whose predominant colors are green background with white
writing.
There is a style sheet with many styles, of which all either specify a
green background, or don't specify any. Body defaults to green.
At the customer site, some <INPUT type="TEXT"> elements showed up with a
white background on one machine running IE6. I didn't have a chance to
investigate further. Highlighting the white on white entered text showed
it was there, just invisible
Further madness occurred when on this machine a form containing about 10
of such inputs, that as far as I know were identical HTML, showed up
with some white and some green background.
My own test machine running AFAICT the same IE6 version does NOT display
this problem.
Her is a code snippet that gave some fields white, some green:-
<TABLE width=90% border="0">
<TR><TD align="right">Name:</td><TD align="left"><INPUT type="text"
maxlength="32"name ="name" value=""></td>
<TD align="right">Phone:</TD><TD align="left"><INPUT type="text" name=
"phone" maxlength="32" value=""></td>
</TR><TR>
<TD align="right">Address 1:</td><TD align="left"><INPUT type="text"
name="address1" maxlength="30" value=""></td>
<TD align="right">Mobile Phone:</TD><TD align="left"><INPUT
type="text" name=" phone2" maxlength="30" value=""></td>
</TR><TR>
<TD align="right">Address 2:</td><TD align="left"><INPUT type="text"
name="address2" maxlength="32" value=""></td>
<TD align="right">Fax:</TD><TD align="left"><INPUT type="text"
name="fax" maxlength="32" value=""></td>
</TR><TR>
<TD align="right">Address 3:</td><TD align="left"><INPUT type="text"
name="address3" maxlength="32" value=""></td>
<TD align="right">Email:</TD><TD align="left"><INPUT type="text"
name="email" maxlength="32" value=""></td>
</TR><TR>
<TD align="right">Town:</td><TD align="left"><INPUT type="text"
name="town" maxlength="32" value=""></td>
<TD align="right">Web:</TD><TD align="left"><INPUT type="text"
name="web" maxlength="32" value=""></td>
</TR><TR>
<TD align="right">County/state:</td><TD align="left"><INPUT
type="text" name="county" maxlength="32" value=""></td>
<TD align="right">Credit Limit:</TD><TD align="left"><INPUT
type="text" name="credit_limit" maxlength="32" value="0"></td>
</TR><TR>
<TD align="right">Post/ZIP code:</td><TD align="left"><INPUT
type="text" name="postcode" maxlength="32" value=""></td>
<TD align="right">Status:</TD>
<TD align="left">
Cash<input type="radio" name="credit_status" value="cash" checked>
Credit<input type="radio" name="credit_status" value="credit" >
On Hold<input type="radio" name="credit_status" value="hold" >
</td>
</TR>
At the least I would have thought that this would override any other
styles - from the relevant stylesheet.
INPUT, TEXTAREA, SELECT, OPTION {
font-family: Verdana, Arial, Helvetica, sans-serif;
padding: 2px;
color: white;
font-size: 12px;
background-color: #60a060;
}
No HTML errors or warnings are given: No errors are shown..
Any ideas? graphics issue maybe?
Technical Details
Message-ID:
<1193389007.23560.0@proxy01.news.clara.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!news.clara.net!wagner.news.clara.net!proxy01.news.clara.netShow Full Headers
Complete Article Headers
X-Google-Thread: fb3cb,eb18126472a65c40,start X-Google-Thread: 102f53,eb18126472a65c40,start X-Google-Attributes: gidfb3cb,gid102f53,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!news.clara.net!wagner.news.clara.net!proxy01.news.clara.net Date: Fri, 26 Oct 2007 09:56:47 +0100 From: The Natural Philosopher <a@b.c> User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.javascript,cam.misc Subject: Possibly OT. IE6 and background colors.. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: f4e06d0143647020c856c56107658090aa668400566140f15b6984844721abcf NNTP-Posting-Date: Fri, 26 Oct 2007 09:56:47 +0100 Message-ID: <1193389007.23560.0@proxy01.news.clara.net> Lines: 86