<b>REGISTER</b>

GFX-Sector - HTML, CSS


 
GFX-Sector » Coding Area » Webentwicklung » HTML, CSS » [CSS]Simple Frage zu Hyperlink und Textfarbe » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites

HTML, CSS

Einfache Scriptsprachen und deren Layout mit HTML und CSS
Post New Thread Post Reply

[CSS]Simple Frage zu Hyperlink und Textfarbe

     Deutsche Version  English version
Author
Post « Previous Thread | Next Thread »

VCJunk
Zauberstabbenutzer


VCJunk hat kein Avatar

Registration Date: 24.07.2009
Posts: 21

Spacer
[CSS]Simple Frage zu Hyperlink und Textfarbe

[CSS]Simple Frage zu Hyperlink und Textfarbe

      

Hallo,
Also ich weiß es ist eigentlich was ganz leichtes, aber ich komm gerade nicht rauf,
aalso,
wie macht man in einer CSS Datei, das wenn man einen hyperlink schreibt, das der automatisch, sage ich mal Gelb, ist?mit:
a {
color:yellow;
}

habe ich es auch schon probiert.Ich google schon die ganze zeit aber finde Nix :*(
[CSS]Simple Frage zu Hyperlink und Textfarbe 27.07.2009 19:25 VCJunk is offline Search for Posts by VCJunk

quantum quantum is a male
Pfadfinder

Spender


Avatar von quantum

Registration Date: 29.12.2008
Posts: 721
Deviantart: xcracx

Spacer
      

a:link : link
a:hover : hover/rollover
a:focus : bei focussierung (per tab)
a:visited : besuchte links
a:active : aktive links

lg



[CSS]Simple Frage zu Hyperlink und Textfarbe 27.07.2009 19:37 quantum is offline Homepage of quantum Search for Posts by quantum

VCJunk
Zauberstabbenutzer


VCJunk hat kein Avatar

Registration Date: 24.07.2009
Posts: 21

Thread Starter Thread Started by VCJunk
Spacer
      

Funktioniert nicht.
Also hier meine Codes:
style.css:
a link{
color:red;
font-weight:bold;
}

test.html:
<html><head><link rel="stylesheet" type="text/css" href="style.css"></head><body>
<a href="#testlink">Test Link</a>
</body>
</html>

[CSS]Simple Frage zu Hyperlink und Textfarbe 27.07.2009 19:46 VCJunk is offline Search for Posts by VCJunk

Hyd^ Hyd^ is a male
Dr. House-Meister


Avatar von Hyd^

Registration Date: 15.12.2006
Posts: 1,939
Location: Hamburg
Program: Photoshop CS3
Deviantart: hyd1337

Spacer
      

style.css:
a{
color:red;
font-weight:bold;
}

a:link a:hover a:active a:visited { color:red; font-weight:bold; }

test.html:
<html><head><link rel="stylesheet" type="text/css" href="style.css"></head><body>
<a href="#testlink">Test Link</a>
</body>
</html>





DÖNER!
[CSS]Simple Frage zu Hyperlink und Textfarbe 27.07.2009 19:49 Hyd^ is offline Homepage of Hyd^ Search for Posts by Hyd^

VCJunk
Zauberstabbenutzer


VCJunk hat kein Avatar

Registration Date: 24.07.2009
Posts: 21

Thread Starter Thread Started by VCJunk
Spacer
      

Funktioniert immer noch nicht Zunge raus

Immer noch alles blau... unglücklich

This post has been edited 1 time(s), it was last edited by VCJunk: 27.07.2009 19:54.

[CSS]Simple Frage zu Hyperlink und Textfarbe 27.07.2009 19:52 VCJunk is offline Search for Posts by VCJunk

quantum quantum is a male
Pfadfinder

Spender


Avatar von quantum

Registration Date: 29.12.2008
Posts: 721
Deviantart: xcracx

Spacer
      

Hier:
style.css:
a:link {
color:red;
font-weight:bold;
}

test.html:
<html><head><link rel="stylesheet" type="text/css" href="style.css"></head><body>
<a href="#testlink">Test Link</a>
</body>
</html>

(Bei Hyd^s Methode bitte Kommatas dazwischen!)

a:link , a:hover , a:active , a:visited {
color:red;
font-weight:bold;
}


lg



This post has been edited 3 time(s), it was last edited by quantum: 27.07.2009 19:58.

[CSS]Simple Frage zu Hyperlink und Textfarbe 27.07.2009 19:55 quantum is offline Homepage of quantum Search for Posts by quantum

VCJunk
Zauberstabbenutzer


VCJunk hat kein Avatar

Registration Date: 24.07.2009
Posts: 21

Thread Starter Thread Started by VCJunk
Spacer
      

Sorry,
jetzt geht es, hatte den Ordner nicht mit angegeben, weil style.css liegt in /css/style.css
Naja trotzdem danke, ihr wart immerhin die ersten die mir geantwortet haben (5 foren) und in den anderen steht nur, 'Was bist du für ein Noob?'Naja danke

[CSS]Simple Frage zu Hyperlink und Textfarbe 27.07.2009 19:56 VCJunk is offline Search for Posts by VCJunk
 
Spacer
   
GFX-Sector
unregistered


 hat kein Avatar


Spacer

Have you enjoyed this topic?


If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.

After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.

In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.

Sign up now and enjoy the advantages as a registered member.

(This website will be ad-free after a complete free sign up.)

New Post 27.07.2009 19:56  
Tree Structure | Board Structure
Post New Thread Post Reply
GFX-Sector » Coding Area » Webentwicklung » HTML, CSS » [CSS]Simple Frage zu Hyperlink und Textfarbe

Similar topics to [CSS]Simple Frage zu Hyperlink und Textfarbe
Thread
[Problem] Adobe After Effects - Ebenen Frage (Forum: Fragen & Probleme)
Weihnachtsmann und Rentier (Forum: Artworks)
Fast food oder BIO und gesundes? (Forum: Allgemeine Diskussion)
Bräuchte mal Hilfe bei Animierten PNG und Sonstiges (Forum: Unentgeltliche Grafikanfragen)
Tutorial anfrage (Forum: Tutorial Suche)