Ik zit met een vreselijk irritant probeem, als iemand met zijn muis over een link gaat moet er een border om te tekst verschijnen. Code:
[code=css]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
a:hover {
border: 1px solid #000000;
}
</style>
</head>
<body>
<a href="#">lol</a>
</body>
</html>
In FF werkt het perfect, maar in IE komt er boven en onder geen 1px border
.
Ik heb hier op het forum gezocht maar die oplossingen werken niet voor IE7 en IE6.
[code=css]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
a:hover {
border: 1px solid #000000;
}
</style>
</head>
<body>
<a href="#">lol</a>
</body>
</html>
In FF werkt het perfect, maar in IE komt er boven en onder geen 1px border
Ik heb hier op het forum gezocht maar die oplossingen werken niet voor IE7 en IE6.