The forums are currently locked and only available for read only access
Rom Raptor
Kommer du hit ofta?
Medlem
Forum Posts: 587
Member Since:
October 14, 2002
October 14, 2002
![sp_UserOfflineSmall](https://nordichardware.se/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
hur gör man om man t ex vill ha detta på vissa länkar:
a:link { text-decoration: none; color: #ffffff}
a:visited { text-decoration: none; color: #ffffff}
a:active { text-decoration: none; color: #ffffff}
och detta på andra länkar i samma sida:
a:link { text-decoration: none; color: #000000}
a:visited { text-decoration: none; color: #000000}
a:active { text-decoration: none; color: #000000}
använder extern css-fil
simpn
Almost a full-blooded keyboard-warrior
Medlem
Forum Posts: 210
Member Since:
March 28, 2003
March 28, 2003
![sp_UserOfflineSmall](https://nordichardware.se/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
.link1:a:link { text-decoration: none; color: #ffffff}
.link1:a:visited { text-decoration: none; color: #ffffff}
.link1:a:active { text-decoration: none; color: #ffffff}
.link2:a:link { text-decoration: none; color: #000000}
.link2:a:visited { text-decoration: none; color: #000000}
.link2:a:active { text-decoration: none; color: #000000}
Länk1
Länk2
med ".link1" och ".link2" skapar du anpassade stilar, dessa anropar du sedan med "class" i html-taggarna.
zcorpan
Kommer du hit ofta?
Medlem
Forum Posts: 848
Member Since:
December 26, 2003
December 26, 2003
![sp_UserOfflineSmall](https://nordichardware.se/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_UserOfflineSmall.png)
Hmm... inte riktigt.
Antingen
#foo a:link { color: blue; }
<div id="foo">
En blå länk.</p>
En annan blå länk.</p>
</div>
eller
a.bar:link { color: red; }
En röd länk.</p>
[edit] Så i ditt fall blir det
<style type="text/css">
a { text-decoration: none; color: white; background: transparent; }
#foo a { color: black; }
</style>
En del på sidan med en vanlig länk.</p>
<div id="foo">
En annan del med sidan med en annorlunda länk.</p>
</div>
🙂
[/edit]
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 694
Currently Online:
Guest(s) 49
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Andreas Galistel: 16287
Jonas Klar: 15897
ilg@dd: 10810
Nyhet: 10607
Mind: 10550
Ctrl: 10355
Gueno: 9881
Guest: 9344
Snorch: 8881
Callister: 8468
Newest Members:
PetrbonFU PetrbonFU
Karine Bembry
Dolores Mcdaniels
Anibal McLeish
Francisca Alt
Alfie Everhart
Lester Huitt
Orlando Jorgensen
Mikki Lundgren
Dakota Kozlowski
Forum Stats:
Groups: 11
Forums: 59
Topics: 146630
Posts: 1300967
Member Stats:
Guest Posters: 2
Members: 79425
Moderators: 0
Admins: 11
Administrators: nordicadmin, Henrik Berntsson, Anton Karmehed, Carl Holmberg, Joel Oscarsson, Mikael Linnér, Mikael Schwartz, Andreas Paulsson, Nickebjrk, Mattias Pettersson, EmxL
© Simple:Press —
![sp_Information](https://nordichardware.se/wp-content/sp-resources/forum-themes/reboot/images/darkpack/sp_Information.png)