• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

nicht unterstrichen... [done]

Status
Für weitere Antworten geschlossen.

Anonymous

Neues Mitglied
moins.
Wie "macht man es", das der Link weder beim drüber gehen noch sonst irgendwie unterstrichen ist?

ach so bevor mich alle töten:
ich habe die baord suche benutzt und bin darauf gekommen:
Code:
.{Name deines Styles} hover
{
text-decoration:none;
}


.... wie bau ich es nur da ein:
Code:
<style>



BODY {

scrollbar-face-color: 82A9E2;

scrollbar-highlight-color: 000000;

scrollbar-3dlight-color: 000000;

scrollbar-darkshadow-color: FFFFFF;

scrollbar-shadow-color: 4A6D9B;

scrollbar-arrow-color: FFFFFF;

scrollbar-track-color: 4A6D9B;

}



body, td, th {

font-family: Verdana;

font-size: 11px;

color: #000000;

}

body {

margin-left: 0px;

margin-top: 0px;

margin-right: 0px;

margin-bottom: 0px;

}

a:link {

color: #FF0000;

}

a:visited {

color: #FF0000;

}

a:hover {

color: #6B6B6B;

}
 
Werbung:
Werbung:
Bei deinem CSS-Kram musst du text-decoration eben überall angeben. Ich hab link, visited und active eben nur zusammengefasst.
 
Code:
}

a:link {

color: #FF0000;

text-decoration:none;
}

a:visited {

color: #FF0000;

text-decoration:none;
}


a:hover {

color: #6B6B6B;

text-decoration:none;
}
geht aber immer noch nicht. was mache ich falsch?


Reihenfolge war verkehrt. Danke!
 
Für alle Links
Code:
 <style type="text/css">
<!--

a:link, a:visited, a:avtive {
text-decoration:none;
}

a:hover {
text-decoration:none;
}

-->
</style>

Für Links mit class="navi"
Code:
<style type="text/css">
<!--

.navi:link, .navi:visited, .navi:active {
text-decoration:none;
}

.navi:hover {
text-decoration:none;
}

-->
</style>

Hast du style auch wieder geschlossen? Reihenfolge beachtet?

edit: zu spät...na ok, dann ist ja alles klar.
 
Werbung:
Status
Für weitere Antworten geschlossen.
Zurück
Oben