font size beim link wird nicht beachtet
Matt Renzi
- css
0 wahsaga
Hi,
habe zwei links in meinem css file definiert. Jetzt zeigt er mir aber nur bei dem ersten die richtige Fontgröße an. Woran könnte das liegen?
Hier der Code: Hoffe ihr könnt mir helfen. Habe jetzt schon über eine Stunde im forum gesucht nach änlichen problemen.
A { font-family : arial;
font-weight: normal;
color: #000000 }
A:link, A:visited { text-decoration: none;
font-weight: normal;
font-size: 8pt;
color: #FFFFFF }
A:hover, A:active { text-decoration: none;
font-weight: bold;
color: #000000 }
A.zwei { font-family : arial;
font-weight: normal;
color: #828287 }
A.zwei :link, A.zwei :visited { text-decoration: none;
font-weight: normal;
font-size: 5pt;
color: #111111 }
A.zwei :hover, A.zwei :active { text-decoration: none;
font-weight: bold;
color: #828287 }
hi,
A.zwei :link, A.zwei :visited
A.zwei :hover, A.zwei :active
zwei selektoren durch space getrennt, ist die CSS-synatx für einen nachfrahren-selektor. einen solchen willst du hier aber vermutlich gar nicht verwenden (und pseudoformat ohne bindung an einen selektor macht m.E. auch wenig sinn).
also versuch's mal ohne space.
gruß,
wahsaga