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:25:03 +0100
Message-ID: <51E5BCAA9CD2D4119B3000600894CBE286D9@heisesgade2.heisesgade.dk>
To: "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.

I actually do enclose in the submit in a <FORM> tag, the code was just a
part of a page, sorry should have been more specifik. Here's what I've
narrowed it down to.

<!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">
<SCRIPT src="- Ordre_files/windowOpenerscript.js"
type=text/javascript></SCRIPT>
<STYLE TYPE="text/css" TITLE="">
.C673 {
	BORDER-RIGHT: #333 1px solid; BORDER-TOP: #333 1px solid; FONT-SIZE:
11px; BORDER-LEFT: #333 1px solid; COLOR: #333; BORDER-BOTTOM: #333 1px
solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #d5e9f3
}
</STYLE>
<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>

When I click inside the form trouble begins, any ideas?

-Michael
Received on Friday, 9 November 2001 14:28:23 GMT

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