Skip to content

Instantly share code, notes, and snippets.

@oglops
Created June 30, 2017 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oglops/d24a6217f2c763657a8e5ef83df6f503 to your computer and use it in GitHub Desktop.
Save oglops/d24a6217f2c763657a8e5ef83df6f503 to your computer and use it in GitHub Desktop.
qwebview visited link color not changing ?
<html>
<head>
<title></title>
<meta content="">
<style></style>
</head>
<body>
page 1
<a href="2.html"> open page 2</a>
</body>
</html>
<html>
<head>
<title></title>
<meta content="">
<style></style>
</head>
<body>
page 2
<a href="1.html"> open page 1</a>
</body>
</html>
a:link {
color: #ff0000;
text-decoration: underline;
}
/*not working*/
a:visited {
color: #00ff00;
text-decoration: underline;
}
a:hover {
color: #0000ff;
text-decoration: none;
}
a:active {
color: #ff00ff;
text-decoration: underline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment