Fixed: login form fields have different width with IE (#3582).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2799 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-07-04 07:57:04 +00:00
parent 202d01664a
commit 85f634481e
2 changed files with 3 additions and 2 deletions

View File

@ -4,11 +4,11 @@
<table>
<tr>
<td align="right"><label for="username"><%=l(:field_login)%>:</label></td>
<td align="left"><p><%= text_field_tag 'username', nil, :size => 40 %></p></td>
<td align="left"><p><%= text_field_tag 'username', nil %></p></td>
</tr>
<tr>
<td align="right"><label for="password"><%=l(:field_password)%>:</label></td>
<td align="left"><%= password_field_tag 'password', nil, :size => 40 %></td>
<td align="left"><%= password_field_tag 'password', nil %></td>
</tr>
<% if Setting.openid? %>
<tr>

View File

@ -69,6 +69,7 @@ html>body #content { min-height: 600px; }
#login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
#login-form table td {padding: 6px;}
#login-form label {font-weight: bold;}
#login-form input#username, #login-form input#password { width: 300px; }
input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }