/    Sign up×
Community /Pin to ProfileBookmark

input fields not rendering same in IE and FF

Hi,

Below is the code,which is giving me headache for last 2 hrs…Input box are not coming same in multiple browsers, pls help.

Below is the code

<div id=”toplinks”>
<ul>
<li> <a href=”index.html”>Home</a></li>
<li><a href=”contactus.html”>Contact Us</a></li>
<li><a href=”blog.php”>Blog</a></li>
<li><a href=”twitter.php”>Twitter</a></li>
</ul>
<input name=”” type=”text” value=”username” class=”loginfields” />
<input name=”” type=”password” value=”password” class=”loginfields”/>
<input name=”” type=”button” value=”login” class=”login” />
</div>

body, div, ul, li, input {
margin:0;
padding:0;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
}
a {
color:#e57616;
text-decoration:underline;
}
a:visited {
color:#6d849d;
text-decoration:underline;
}
a:hover {
color:#e57616;
text-decoration:none;
}
a:active {
color:#e57616;
text-decoration:underline;
}
#toplinks {
background-color:#000;
height:30px;
color:#808080;
padding-right:26px;
}
#toplinks ul {
list-style:none;
display:inline;
height:30px;
padding-left:332px;
}
#toplinks ul li {
display:inline;
font-size:9pt;
margin-left:14px;
line-height:30px;
}
#toplinks ul li a {
text-decoration:underline;
color:#808080;
line-height:30px;
}
.login {
background:url(../images/Loginbtn.png) no-repeat top left;
width:64px;
height:24px;
color:#9ca0a3;
border:none;
margin:0 0 0 12px
}
.loginfields {
background-color:#3d3333;
border:1px #625959 solid;
text-align:left;
margin-left:20px;
height:22px;
}

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 23.2010 — Looks the same. Which browsers are you having an issue with and in what way?
Copy linkTweet thisAlerts:
@lohumihemauthorMay 24.2010 — i m using firefox 3.5.9 and IE 7. if you see input box for username & password. there is little alignment issue among the input boxes
Copy linkTweet thisAlerts:
@FangMay 24.2010 — .loginfields {line-height:22px;}The text in these fields is almost impossible to read.
×

Success!

Help @lohumihem 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.17,
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,
)...