Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS] Tabela z formularzem w różnych przeglądarkach, W Firefox i IE jest ok, w Operze nie do przyjęcia
Leopard
post
Post #1





Grupa: Zarejestrowani
Postów: 20
Pomógł: 2
Dołączył: 20.07.2008

Ostrzeżenie: (0%)
-----


Mam tabelkę z małym formularzem:

  1. <table class="login_form">
  2. <tr>
  3. <td class="login">
  4. <form action="?login" method="post">
  5. &nbsp;Login: <input class="login" type="text" name="userName" maxlength="22">
  6. Password: <input class="login" type="password" name="userPass" maxlength="22">
  7. &nbsp;<button class="login" type="submit" name="login" value="ok">
  8. Login
  9. </button>
  10. </form>
  11. </td>
  12. </tr>
  13. </table>


Do tego styl:

  1. table.login_form {
  2. font: 12px Arial,Helvetica,sans-serif;
  3. border-color: black;
  4. border-style: solid;
  5. border-width: 1px;
  6. background: #dcdcdc;
  7. }
  8.  
  9. td, tr {
  10. border-style: none;
  11. }
  12.  
  13. input.login {
  14. font: 14px Arial,Helvetica,sans-serif;
  15. width: 150px;
  16. }


Musi on dobrze wyglądać we wszystkich przeglądarkach a niestety tak nie jest:

Firefox - OK

IE - lekkie różnice ale jest OK

Opera - lipa


Da się to jakoś ujednolicić?

Najgorzej jest z operą - chodzi o to żeby między oknami input (na górze) a ramką była szara przestrzeń i to samo w przypadku przycisku "login" tylko, że z prawej i na dole.


--------------------
Once committed to a full attack, only a fatal bullet will stop a charging Leopard.
Piszę poprawnie po polsku.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 20:26