2009-09-01, 05:42 AM
2009-09-01, 06:07 AM
and an image code into the link.
Example
W3schools look around
<html>
<body>
<p>
<a href="www.lastpage.com/index.htm">
<img border="0" src="buttonnext.gif" width="65" height="38">
</a>
</p>
</body>
</html>
Example
W3schools look around
2009-09-01, 06:41 AM
Correct way is this, make sure you add the correct themes folder name to it.
<input type="img" src="images/your theme folder/loginbutton.gif" alt="Go" style="vertical-align: middle"/>
2009-09-01, 05:45 PM
Ok lunty I have no idea where to put it since I've never done this kind of this. Think I can get some help as to where to put it?
<form action="member.php" method="post">
<table>
<tr>
<td><strong>{$lang->username}</strong></td>
<td><input type="text" class="textbox" name="username" size="25" maxlength="{$mybb->settings['maxnamelength']}" style="width: 90px;" /></td>
<td></td>
</tr>
<tr>
<td><strong>{$lang->password}</strong><br /></td>
<td><input type="password" class="textbox" name="password" size="25" style="width: 90px;" /></td>
<td><input type="submit" class="button" name="submit" value="{$lang->login}" /></td>
</tr>
</table>
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$redirect_url}" />
</form>
2009-09-01, 07:50 PM
Here you go, make sure you change the link to the image you use to the correct path.
<form action="member.php" method="post">
<table>
<tr>
<td><strong>{$lang->username}</strong></td>
<td><input type="text" class="textbox" name="username" size="25" maxlength="{$mybb->settings['maxnamelength']}" style="width: 90px;" /></td>
<td></td>
</tr>
<tr>
<td><strong>{$lang->password}</strong><br /></td>
<td><input type="password" class="textbox" name="password" size="25" style="width: 90px;" /></td>
<td><input type="img" src="images/your theme folder/loginbutton.gif" alt="Go" style="vertical-align: middle"/></td>
</tr>
</table>
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$redirect_url}" />
</form>
2009-09-01, 07:59 PM
It doesn't work ;P
Instead, it just gives another empty textbox where the button should be.
Instead, it just gives another empty textbox where the button should be.
2009-09-01, 08:06 PM
You right yea sorry here you go.
<form action="member.php" method="post">
<table>
<tr>
<td><strong>{$lang->username}</strong></td>
<td><input type="text" class="textbox" name="username" size="25" maxlength="{$mybb->settings['maxnamelength']}" style="width: 90px;" /></td>
<td></td>
</tr>
<tr>
<td><strong>{$lang->password}</strong><br /></td>
<td><input type="password" class="textbox" name="password" size="25" style="width: 90px;" /></td>
<td><input type="image" src="images/your theme folder/loginbutton.gif" alt="Go" style="vertical-align: top;" /></td>
</tr>
</table>
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$redirect_url}" />
</form>
2009-09-01, 08:44 PM
Cool thanks. Is there a way to align it though??
2009-09-02, 07:38 AM
<td align="center"> or any aligning attribute will work.
2009-09-02, 04:27 PM
No I mean is there a way to align the image with the textbox so that the image isn't too low