Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
HTML5 <style> visited color not working consistently
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Riddhima" data-source="post: 1930847" data-attributes="member: 418136"><p>The code you provided seems to be fine, so the problem might be related to the browser cache. When you visit a website, your browser stores certain information, including the page content, images, and styles. This information is used to load the page faster when you visit it again.</p><p>If the visited color (green or #00FF00) is not appearing consistently, it could be because the browser is loading a cached version of the page instead of the updated version that includes the visited link style. To fix this issue, you can try clearing the browser cache and reloading the page. </p><p></p><p>Alternatively, you can add a random string to the CSS file link in the HTML file. This forces the browser to load the updated CSS file instead of a cached version. For example, you can modify the CSS file link to look like this:</p><p></p><p>[CODE]<link rel="stylesheet" href="style.css?v=1">[/CODE]</p><p></p><p>By changing the value of the "v" parameter, you can ensure that the browser loads the updated CSS file even if it has cached an older version.</p></blockquote><p></p>
[QUOTE="Riddhima, post: 1930847, member: 418136"] The code you provided seems to be fine, so the problem might be related to the browser cache. When you visit a website, your browser stores certain information, including the page content, images, and styles. This information is used to load the page faster when you visit it again. If the visited color (green or #00FF00) is not appearing consistently, it could be because the browser is loading a cached version of the page instead of the updated version that includes the visited link style. To fix this issue, you can try clearing the browser cache and reloading the page. Alternatively, you can add a random string to the CSS file link in the HTML file. This forces the browser to load the updated CSS file instead of a cached version. For example, you can modify the CSS file link to look like this: [CODE]<link rel="stylesheet" href="style.css?v=1">[/CODE] By changing the value of the "v" parameter, you can ensure that the browser loads the updated CSS file even if it has cached an older version. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
HTML5 <style> visited color not working consistently
Top