SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    calif
    Posts
    733
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    This Log-in Form works. This Log-in Form doesn't

    How can I get Log-in-Form-1 to work successfully like Log-in-Form-2 ?

    Log-in-Form-1:

    Code:
    <form action="login.php" method="post" accept-charset="UTF-8" class="middletext">
    <p>
    </style>
    <label for="user_name_login" class="form_label">Username&nbsp;</label>
    <input type="text" name="user_name_login" id="user_name_login" size="10" />
    <label for="password_login" class="form_label">Password</label>
    <input type="password" name="password_login" size="10" />
    <input type="image" src="images/login.png" value="[var.lang_login_now]" class="btn_vid2" style="vertical-align:middle" alt="" />
    <input type="hidden" name="submitted" value="yes" />
    </p>
    </form>

    Log-in-Form-2:

    Code:
    <form action="[var.smf_bridge_login]" method="post" accept-charset="UTF-8" class="middletext">
    <ul>
    <li><label><font class="font4_13">[var.lang_user_name]:</font></label><span class="username"><input type="text" name="user" size="16" style="width:138px;" /></span></li>
    <li><label><font class="font4_13">[var.lang_password]:</font></label><span class="password"><input type="password" name="password" size="16" style="width:138px;" /></span></li>
    <li>
    <input type="submit" value="[var.lang_login_now]" class="button-form" />
    <input type="hidden" name="submitted" value="yes" />
    </li>
    </ul>
    </form>

  2. #2
    Community Advisor silver trophybronze trophy
    dresden_phoenix's Avatar
    Join Date
    Jun 2008
    Location
    Madison, WI
    Posts
    2,791
    Mentioned
    34 Post(s)
    Tagged
    2 Thread(s)
    Am not certain what you mean by "not "working", could you describe what you INTEND to do/look like that it is not doing?

    I DO KNOW that you have a stray </style> tag ( how the heck did that get there anyway?)

    Hope that helps.

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,112
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Yikes. For goodness' sake, don't use <font> tags and inline styles. Just style your labels as needed via your style sheet.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •