![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 81 Pomógł: 0 Dołączył: 12.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
robię nowy lay dla stronki no i mam taki styl: <?php .menu{ background:url(images/button.jpg); width:99px; height:22px; color:# > 8F9ABA; font-size:9px; text-align:center; } a{ color:white; text-decoration:none; > } .menu a{ color:#8F9ABA; } .menu a:hover{ color:yellow; } w index.php wyglada to tak: <td class="menu" ><a href=""><font style="color:#8F9ABA;"><span >H</span>ome</font></a></td> <td width=8></td> W stylach mam ustawione jako tlo menu plik button.jpg, a chcę, aby po najechaniu myszką było button2.jpg jako tło. No i ustawiam, a to nie reaguje. Co zrobić, aby było poprawnie? Ten post edytował Mlody993 12.06.2009, 15:20:43 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 81 Pomógł: 0 Dołączył: 12.02.2009 Ostrzeżenie: (0%) ![]() ![]() |
Teraz kod css wygląda tak:
Kod tr,td{
font-family:verdana,arial; font-size:11px; color:#8F9ABA; } input{ border: 1px solid #575B72; background:#282B3E; color:white; font-family: verdana,arial; font-size: 10px; } .menu{ background:url(images/button.jpg); width:99px; height:22px; color:#8F9ABA; font-size:9px; text-align:center; } .menu:hover { background:url(images/button2.jpg); } .menu a:hover { background-image: url(); } a{ color:white; text-decoration:none; } .menu a{ color:#8F9ABA; } .menu a:hover{ color:yellow; } span{ color:orange; } |
|
|
![]() ![]() |
![]() |
Aktualny czas: 3.10.2025 - 20:52 |