a.link werkt niet

Status
Niet open voor verdere reacties.

Aurelie90

Gebruiker
Lid geworden
27 sep 2008
Berichten
33
Hallo

Ik ben bezig met mn eigen site te maken, maar met basiskennis.
Ik heb namelijk dit probleem:
ik heb een div aangemaakt, met daarin mn menu van mn site.
Hierbij verbond ik bv. Index met de "Index.htm"link.
Ik heb ook een css aangemaakt, waarbij ik a.link (geel), a.hover(bruin), a.visited (groen) en a.active (blauw) ingesteld heb op flashy-kleuren, zodat ik het verschil zou zien.
Maar zodra ik de pagina laadt, toont hij a.link paars, waar ik dit nergens ingesteld heb. Zodra ik erover ga, dan wordt het woordt bruin (a.hover).

Wat heb ik misgedaan?
 
Kun je je CSS code hier plaatsen?
 
Code:
.Box1 {
	height: 800px;
	width: 600px;
	position: relative;
	margin: auto;
	background-color: #ABC7DD;
	text-decoration: none;
	color: #FFF;
}

.Header {
	height: 40px;
	width: 600px;
	background-color: #FFF;
	margin: auto;
	position: relative;
	vertical-align: text-bottom;
	white-space: normal;
	float: right;
	clear: none;
}
.MontpellierLogo {
	float: left;
	height: 100px;
	width: 150px;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
}
.Top {
	background-color: #000;
	height: 42px;
	width: 600px;
	color: #FFF;
	text-align: right;
	background-repeat: no-repeat;
	background-position: right top;
}

.Menu {
	background-color: #000;
	height: 30px;
	width: 600px;
}
.Menu1 {
	background-color: #FFF;
	height: 28px;
	width: 600px;
	background-repeat: no-repeat;
	background-position: right top;
}
.Header2 {
	background-color: #000;
	height: 40px;
	width: 600px;
	color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: normal;
	line-height: 35px;
	text-decoration: none;
}
a:active {
	color: #30F;
}

a:link {
	font-family: Arial, Helvetica, sans-serif;
	color: #0C3;
}
a:hover {
	font-family: "Courier New", Courier, monospace;
	color: #963;
}

.Submenu {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #2795D0;
	background-color: #032C84;
	position: relative;
	height: 25px;
	width: 570px;
	float: right;
	padding-left: 30px;
	line-height: 20px;
}
.Tekst {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #002E86;
	height: 500px;
	width: 585px;
	float: none;
	padding-left:15px;
	font-weight: bold;
}
.Voettekst {
	font-family: Arial, Helvetica, sans-serif;
	color: #002E86;
	font-weight: bold;
	text-align: center;
	height: 25px;
	width: 600px;
	margin: auto;
	font-size: 14px;
	color: #002E86;
}

.Box1 .Submenu a {
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	color: #1493DA;
}
 
Laatst bewerkt door een moderator:
Ik mis een a:visited zoals je in je eerste bericht vermeldde :)
 
Heb je die dus ook in je CSS?

Een paarse link is meestal een a:visited in standaard-kleur.
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan