← Desenvolvimento

Buttons

Lida 2729 vezes

Offline

Underground 
Membro
Mensagens 124 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

http://undergroundsite.no.sapo.pt/Links.htm <- como fazer a mudança para quando o usuário colocar a seta do rato por cima do link mudar de cor?
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

A seta do rato mudar de cor? Não faças isso... os resultados são maus... Deixa estar o ponteiro do rato normal ;)
Offline

Underground 
Membro
Mensagens 124 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

Não!.. mudar de cor a escrita do link! (quando o rato está em cima do mesmo!)
Offline

MiguelTavares 
Membro
Mensagens 3871 Gostos 0
Troféus totais: 33
Trófeus: (Ver todos)
Avatar Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4

Pelo que vi ... parece-me que ja esta não?
Offline

Underground 
Membro
Mensagens 124 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

aquilo é um site com o exemplo que eu queria fazer..
Offline

icaro 
Membro
Mensagens 128 Gostos 0
Troféus totais: 26
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

no cabeçalho colocar

Código: [Seleccione]



<style>

a:link {
color:#000099;
background-color: #FFFFCC;
text-decoration:none;
}
a:visited {
color:#000099;
background-color: #FFFFCC;
text-decoration:none;


}
a:hover {
background-color:#000099;
color:#FFFFCC;
text-decoration:none;

}

</style>


ou então colocar num documento come extensão .css (por exemplo under.css) e colocar o código sem <style> </style> depois ligar a folha de estilo à página, no cabeçalho:

Código: [Seleccione]


<link href="under.css" rel="stylesheet" type="text/css">
Offline

fpware 
Fundador
Mensagens 15318 Gostos 7
Troféus totais: 38
Trófeus: (Ver todos)
Linux User Mobile User Level 6 Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5

é isso tudo icaro! :D
Offline

Underground 
Membro
Mensagens 124 Gostos 0
Troféus totais: 25
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 100 Posts

é isso mesmo! tks!