← HTML + CSS

Problemas CSS?

Lida 4615 vezes

Offline

nandotx 
Membro
Mensagens 1012 Gostos 1
Feedback +9

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Mobile User Windows User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3

Aqui está:

Código: [Seleccione]
<form action="http://forum.hattrickpt.com/index.php?action=login2" method="post" accept-charset="UTF-8">
<table border="0" cellspacing="1" cellpadding="0" class="ssi_table">
<tr>
<td align="right"><label for="user">Utilizador:</label>&nbsp;</td>
<td><input type="text" id="user" name="user" size="9" value="" /></td>
</tr><tr>
<td align="right"><label for="passwrd">Password:</label>&nbsp;</td>
<td><input type="password" name="passwrd" id="passwrd" size="9" /></td>

</tr><tr>
<td><input type="hidden" name="cookielength" value="-1" /></td>
<td><input type="submit" value="Entrar" /></td>
</tr>
</table>
</form>
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

Então sendo assim, o melhor é começares por alterar essa tabela HTML directamente no ficheiro SSI.php do SMF.

Encontra:
Código: [Seleccione]
echo '
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '">
<table border="0" cellspacing="1" cellpadding="0" class="ssi_table">
<tr>
<td align="right"><label for="user">', $txt[35], ':</label>&nbsp;</td>
<td><input type="text" id="user" name="user" size="9" value="', $user_info['username'], '" /></td>
</tr><tr>
<td align="right"><label for="passwrd">', $txt[36], ':</label>&nbsp;</td>
<td><input type="password" name="passwrd" id="passwrd" size="9" /></td>
</tr><tr>
<td><input type="hidden" name="cookielength" value="-1" /></td>
<td><input type="submit" value="', $txt[34], '" /></td>
</tr>
</table>
</form>';

Altera para:
Código: [Seleccione]
echo '
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '">
<table border="0" cellspacing="1" cellpadding="0" class="ssi_table">
<tr>
<td align="right"><label for="user">', $txt[35], ':</label>&nbsp;</td>
<td align="right"><label for="passwrd">', $txt[36], ':</label>&nbsp;</td>
<td><input type="hidden" name="cookielength" value="-1" /></td>
</tr><tr>
<td><input type="text" id="user" name="user" size="9" value="', $user_info['username'], '" /></td>
                                        <td><input type="password" name="passwrd" id="passwrd" size="9" /></td>
                                        <td><input type="submit" value="', $txt[34], '" /></td>
</tr>
</table>
</form>';
Offline

nandotx 
Membro
Mensagens 1012 Gostos 1
Feedback +9

Troféus totais: 28
Trófeus: (Ver todos)
Apple User Mobile User Windows User Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3

:obrigado: :obrigado:

Já resolvi o que me estava a dar a volta à cabeça, agora vou tratar do resto. :superlol: