/    Sign up×
Community /Pin to ProfileBookmark

works in firefox but not IE.

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 [B]<div>[/B] and the buttons.

Here is the webpage so you can see for yourselves.
[url]http://purefan.xennos.com/ajedrez/graph/inicio.html[/url]

here is the code used in the html

[code=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>
[/code]

How could I fix it?

thanks!

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@shanterusanNov 21.2005 — 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. ?
Copy linkTweet thisAlerts:
@purefanauthorNov 22.2005 — 
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?[/quote]

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;} http://developer.mozilla.org/en/doc...Mysterious_Gaps[/quote]

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!!
Copy linkTweet thisAlerts:
@FangNov 22.2005 — It's also a problem that can occur in Mozilla!
Copy linkTweet thisAlerts:
@purefanauthorNov 23.2005 — It's also a problem that can occur in Mozilla![/quote]
oops..didnt know. Well at the moment it hadnt happened to me in firefox so I didnt realize it was possible.

thanks!
×

Success!

Help @purefan spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...