[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 10-10-2006, 06:25 PM   #1 (permalink)
Ex-President

Forum Moderator

 
Ronald Regging's Avatar
 
Join Date: May 2006
Location: Marietta, PA
Posts: 2,477
400.00 NP$ (Donate)

Ronald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud ofRonald Regging has much to be proud of

Ethan Allen Fund
Form field length is increasing in IE - Need Help

I'm trying to customize WordPress-MU, which requires me use a specific file name (home.php) for my main page. I designed the page and everything worked fine when it was named index.html, in both IE and FoxFire. The problem occured when I changed the name of the file to home.php... I'm not sure why that would effect it, but apparently it has.

Now all of a sudden, the Username form text field is displaying longer than the password field, even though they are both set to 20. It only does this in IE, in FoxFire it still works properly.

I was just wondering if someone would be kind enough to look at the code and tell me if anything could be causing this, or if it's something else I'm missing (I'm inexperienced in coding).

<form action="http://emoscene.com/wp-login.php" method="post" name="loginform" class="style3" id="loginform">
<div align="center"><span class="style3">Username:</span> <input type="text" name="log" id="user_login" value="" size="20" tabindex="1" /></div>
<div align="center"><span class="style3">Password:</span>
<input type="password" name="pwd" id="user_pass" value="" size="20" tabindex="2" /></div>
<div align="center">
<input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" /> <span class="style3">Remember me</span></div>
<div align="center">
<input src="images/login.gif" name="submit" type="image" id="submit" alt="Login" onClick="doSubmit('submit')" />
<a id="signup" title="Signup" href="http://emoscene.com/wp-signup.php"><img title="SignUp" src="images/signup.gif" style="border-width:0px;" /></a></div>
<div align="center">
<a href="wp-login.php?action=lostpassword" class="style3">Lost your password?</a> </div></form>


Sorry for the ugly code.
I appreciate any help and I'll add rep.
Ronald Regging is offline  
Old 10-10-2006, 06:33 PM   #2 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
 
Join Date: Feb 2006
Posts: 2,801
56.00 NP$ (Donate)

Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future

Autism Autism Autism Autism Autism Autism Autism
Replace
Code:
<input type="text" name="log" id="user_login" value="" size="20" tabindex="1" />
With
Code:
<input style="width: 200px;" type="text" name="log" id="user_login" value="" size="20" tabindex="1" />
Then- Replace
Code:
<input type="password" name="pwd" id="user_pass" value="" size="20" tabindex="2" />
With
Code:
<input style="width: 200px;" type="password" name="pwd" id="user_pass" value="" size="20" tabindex="2" />
If you want them to be wider or narrower, edit 200px.
Dan is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 10:13 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85