
Zmienianie koloru klikniętego linku
#6
Napisano 27 maj 2011

http://www.kurshtml.edu.pl/html/wykaz_kolorow,kolory.html
.. <html> <head> <title>Strona</title> <style type="text/css"> a { color: black; text-decoration: none; } </style> </head> <body> <a href="link.htm">To jest czarne hiperłącze bez podreślenia</a> ... .. <html> <head> <title>Strona <style type="text/css"> a { color: black; text-decoration: none; } a:hover { color: silver; text-decoration: underline; } </style> </head> <body> <a href="link.htm">To jest czarne hiperłącze bez podreślenia, ale najedź na nie!</a> ... .. <html> <head> <title>Strona</title> <style type="text/css"> a { color: black; text-decoration: none; } a:hover { color: silver; text-decoration: underline; background: blue; } </style> </head> <body> <a href="link.htm">To jest czarne hiperłącze bez podreślenia, ale najedź na nie!</a> ...
w pliku css
link główny i po naciśnięciu
} a:hover { text-decoration: none; color: #FF6600; } #text-decoration .active a { background: #BC2121; color: #FFFFFF;
Udostępnij ten temat:
Użytkownicy przeglądający ten temat: 1
0 użytkowników, 1 gości, 0 anonimowych
Twoja reklama tutaj? Zobacz szczegóły Reklama
Partnerzy forum: M-Mobile - sklep komputerowy | Forum wielotematyczne, marzycielskie |
![]() |