Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS] Hover Link jako Obrazek
djair
post
Post #1





Grupa: Zarejestrowani
Postów: 25
Pomógł: 0
Dołączył: 29.08.2005

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


Kod
  <A href="#" ONMOUSEOVER="window.status='ofirmie'; changeImages('ofirmie', 'images/ofirmie1.jpg'); return true;" ONMOUSEOUT="window.status=''; changeImages('ofirmie', 'images/ofirmie.jpg'); return true;">      
  <IMG NAME="ofirmie" src="images/ofirmie.jpg" width="65" height="41" alt="O firmie"></a></td>

Cytat
Witam...da sie cos takiego zrobic w oparciu o CSS ? Wiem jak to zrobic dla tekstu ale nie wiem jak dla obrazkow...prosze o pomoc...pozdrawiam
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
artur81
post
Post #2





Grupa: Zarejestrowani
Postów: 252
Pomógł: 2
Dołączył: 4.12.2004
Skąd: Skierniewice

Ostrzeżenie: (10%)
X----


w linku, byławskazówka jak to zrobić.
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
  4. <title>Untitled Document</title>
  5. </head>
  6. <style type="text/css">
  7. #test {
  8. width:100px;
  9. height:20px;
  10. background:url(komisja_up.png);
  11. }
  12. #test:hover {
  13. background:url(komisja_on.png);
  14. }
  15. <div id="test"></div>
  16. </body>
  17. </html>


Pozdrawiam!

Ten post edytował artur81 27.03.2006, 13:26:00
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: 26.12.2025 - 06:16