hey
I have a function for changing the InnerHtml of a div. The intended effect is a switch between a Login form and a SignIn form. This works great under Firefox but in IE there is a white line between the <div> and the buttons.
Here is the webpage so you can see for yourselves.
<!-- m --><a class="postlink" href="http://purefan.xennos.com/ajedrez/graph/inicio.html">http://purefan.xennos.com/ajedrez/graph/inicio.html</a><!-- m -->
here is the code used in the html
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<title></title>
<STYLE type="text/css">
TABLE {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
#LogSin {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
form {
margin-top: 0;
margin-bottom: 0 ;
padding-top: 0;
padding-bottom: 0;
}
</STYLE>
How could I fix it?
thanks!I looked at your code and noticed you have styles defined for the forms within the Javascript. Why not define those styles in the header? I don't see anything else buggy but maybe poor old IE is confused. img {display:block;} <!-- m --><a class="postlink" href="http://developer.mozilla.org/en/docs/Images,_Tables,_and_Mysterious_GapsI">http://developer.mozilla.org/en/docs/Im ... ious_GapsI</a><!-- m --> looked at your code and noticed you have styles defined for the forms within the Javascript. Why not define those styles in the header?
About those styles...I read somewhere that they might fix it, they didnt but actually didnt harm so I left them (just in case). I am not so sure about implementing them in the head part of the page...
img {display:block;} <!-- m --><a class="postlink" href="http://developer.mozilla.org/en/doc...Mysterious_Gaps">http://developer.mozilla.org/en/doc...Mysterious_Gaps</a><!-- m -->
It worked!! that was it.
Although I had looked extensively I had avoided going to the mozilla site since I was sure it worked under firefox and nievely enough I thought that they would cover Mozilla-only related topics. Thanks for pointing me right Fang!
Thanks guys! it should is of great help!!It's also a problem that can occur in Mozilla!It's also a problem that can occur in Mozilla!
oops..didnt know. Well at the moment it hadnt happened to me in firefox so I didnt realize it was possible.
thanks!
I have a function for changing the InnerHtml of a div. The intended effect is a switch between a Login form and a SignIn form. This works great under Firefox but in IE there is a white line between the <div> and the buttons.
Here is the webpage so you can see for yourselves.
<!-- m --><a class="postlink" href="http://purefan.xennos.com/ajedrez/graph/inicio.html">http://purefan.xennos.com/ajedrez/graph/inicio.html</a><!-- m -->
here is the code used in the html
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<title></title>
<STYLE type="text/css">
TABLE {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
#LogSin {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
form {
margin-top: 0;
margin-bottom: 0 ;
padding-top: 0;
padding-bottom: 0;
}
</STYLE>
How could I fix it?
thanks!I looked at your code and noticed you have styles defined for the forms within the Javascript. Why not define those styles in the header? I don't see anything else buggy but maybe poor old IE is confused. img {display:block;} <!-- m --><a class="postlink" href="http://developer.mozilla.org/en/docs/Images,_Tables,_and_Mysterious_GapsI">http://developer.mozilla.org/en/docs/Im ... ious_GapsI</a><!-- m --> looked at your code and noticed you have styles defined for the forms within the Javascript. Why not define those styles in the header?
About those styles...I read somewhere that they might fix it, they didnt but actually didnt harm so I left them (just in case). I am not so sure about implementing them in the head part of the page...
img {display:block;} <!-- m --><a class="postlink" href="http://developer.mozilla.org/en/doc...Mysterious_Gaps">http://developer.mozilla.org/en/doc...Mysterious_Gaps</a><!-- m -->
It worked!! that was it.
Although I had looked extensively I had avoided going to the mozilla site since I was sure it worked under firefox and nievely enough I thought that they would cover Mozilla-only related topics. Thanks for pointing me right Fang!
Thanks guys! it should is of great help!!It's also a problem that can occur in Mozilla!It's also a problem that can occur in Mozilla!
oops..didnt know. Well at the moment it hadnt happened to me in firefox so I didnt realize it was possible.
thanks!