Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS] Dwa rozne style dla Input???
_XoR_
post
Post #1





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 18.09.2003
Skąd: Wismar

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


Mam taki kod:
Kod
</style>

<style type="text/css">

<!--

input {

    font-family: Verdana, Arial, Helvetica, sans-serif;

    font-size: 10px;

    border: 1px none;

}

-->

</style>

Dziala on na wszystkich polach tekstowych. Czy jest mozliwe, zeby jedno pole textowe mialo inny styl css niz pozostale?(IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
KaMeLeOn
post
Post #2





Grupa: Zarejestrowani
Postów: 680
Pomógł: 0
Dołączył: 1.10.2002
Skąd: Wrocław

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


Kod
<style type="text/css">

<!--

input {

    font-family: Verdana, Arial, Helvetica, sans-serif;

    font-size: 10px;

    border: 1px none;

}

input.twoje_pole {

    font-size: 12px;

    border: 2px none;

}

-->

</style>



<input type="text" name="costam" class="twoje_pole">
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 3.10.2025 - 01:25