W3C home > Mailing lists > Public > www-style@w3.org > November 2001

RE: Submitbuttons and CSS in IE6.0

From: Michael Frederiksen <mfr@cubitech.dk>
Date: Fri, 9 Nov 2001 20:02:39 +0100
Message-ID: <51E5BCAA9CD2D4119B3000600894CBE286D8@heisesgade2.heisesgade.dk>
To: "'Nicholas Atkinson'" <nik@casawana.com>, "W3-Style (E-mail)" <www-style@w3.org>
Nicholas,
 
> I have reproduced the problem you are describing (albeit on 
> IE5.5).  I too
> get the emphasised border when the body has focus.
> 
> I have found that if you put the <INPUT button within a 
> <form> element then
> the emphasised border does not appear.

The code was only a snippet of the page, I actually have a <form> enclosing
the tag (all the content in the body to be precise) sorry should have told
you that. I've narrowed it down to this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>- Ordre</TITLE>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"><LINK 
href="- Ordre_files/79888.css" type=text/css rel=stylesheet>
<SCRIPT src="- Ordre_files/windowOpenerscript.js"
type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY class=C309>
<FORM name=Hidden action=http://intern2.cubitech.dk/79888.html method=post>
<DIV class=C672><SPAN><TEXTAREA class=C668 name=REMARKS rows=4
cols=30></TEXTAREA> 
</SPAN></DIV>
<DIV class=C669></DIV>
<DIV class=C671><SPAN><INPUT class=C673 onclick=validateForm(); type=submit
value=Send name=SAVE> 
<INPUT class=C673 type=hidden value=-1 name=ORDERID></SPAN></DIV></DIV>
</FORM></BODY></HTML>

Trouble happens whenever I clik inside the form or when focusing on the
text. So it must be because of the other <input> ? Is this a bug?

-Michael
Received on Friday, 9 November 2001 14:05:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT