QuickSilverEX
Aktives Mitglied
Thread Starter
- Dabei seit
- 13.06.2004
- Beiträge
- 792
- Reaktionspunkte
- 27
Hallo,
bis jetzt kann ich Linkeigenschaften nur für ein komplettes CSS file festlegen.
Bsp.:
body
{blablabla}
a:link {color: royalblue; text-decoration:none }
a:visited {color: royalblue; text-decoration:none }
a:hover {color: royalblue; text-decoration:none }
und jetzt kämen meine klassen.
Was muss ich machen, damit diese Linkeigenschaften z.B. nur für eine bestimmte klasse festgelegt sind.
Und für eine Andere Klasse auch wieder andere Linkeigenschaften gelten sollen?
Ich habs bis jetzt so versucht:
.box1 a:link {color: royalblue; text-decoration:none }
.box1 a:visited {color: royalblue; text-decoration:none }
.box1{
padding:0px;
border:0px solid black;
position:absolute; top:20px; left:250px; width:500px; height:150px;}
Ging so aber nicht.
Hoffe jemand kann man helfen.
bis jetzt kann ich Linkeigenschaften nur für ein komplettes CSS file festlegen.
Bsp.:
body
{blablabla}
a:link {color: royalblue; text-decoration:none }
a:visited {color: royalblue; text-decoration:none }
a:hover {color: royalblue; text-decoration:none }
und jetzt kämen meine klassen.
Was muss ich machen, damit diese Linkeigenschaften z.B. nur für eine bestimmte klasse festgelegt sind.
Und für eine Andere Klasse auch wieder andere Linkeigenschaften gelten sollen?
Ich habs bis jetzt so versucht:
.box1 a:link {color: royalblue; text-decoration:none }
.box1 a:visited {color: royalblue; text-decoration:none }
.box1{
padding:0px;
border:0px solid black;
position:absolute; top:20px; left:250px; width:500px; height:150px;}
Ging so aber nicht.
Hoffe jemand kann man helfen.