mam prosty kod
i a: link nie działa dobrze, ponieważ, jeżeli nie kliknę na odsyłacz to powinien on być cały czas czerwony, a jest różowy taki jak a: visited, dlaczego??
Kod
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled</title>
<style type="text/css">
a:link {color:red;}
a:visited {color:pink;}
a:hover {color:yellow;}
a:active {color:green;}
</style>
</head>
<body>
<a href="">
ddasd
<br>
</a>
<a href="">
<br>
dasda
</a>
</p>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled</title>
<style type="text/css">
a:link {color:red;}
a:visited {color:pink;}
a:hover {color:yellow;}
a:active {color:green;}
</style>
</head>
<body>
<a href="">
ddasd
<br>
</a>
<a href="">
<br>
dasda
</a>
</p>
</body>
</html>