I am having trouble with the color of visited links in my menu. I looked around and found the command Visited-Color: and put that in all of my CSS tags, and still the color remains black, even though I specified it to be white.
I am using
visited-color: #ffffff;
in my menu.css file. http://www.pbhs2004.com/index1.htm then go to Misc>Class Members. After you visit class members, go back to index1.htm, then to class members again, the Misc is in black text, not white.
I have also added visitedcolor="#ffffff"; to my menu_data.js file.
If anyone could help or point me in the right direction it would be greatly appreciated. Maybe there is another place to change it or I'm just doing something wrong?
Thanks,
Chris
Visited Links Color Won't Change In Menu
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
I added to my menu_data.js in the style definition section and it worked for me. Although a number of links that I had been to previously were already green!
Code: Select all
visitedcolor="green";
Andy Davis
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
Still Having Problems...
Alright...this is gettin really weird. Check out what I did, I made everything in menu_data.js "ffffff", so everything appears white on index1.htm. The same coding is being used on classmembers.htm, but it comes up with the Misc in black text. I made another html page called classmembers2.htm and it worked correctly, but when I renamed it to classmembers.htm, the Misc started showing up in black again, so it has to be something in the code that has to do with Misc and not really just the visited link, but like the visited menu heading..I dunno what to call it. Check it out, I really dont understand. Please look at my code and help me out.
http://www.pbhs2004.com/milonic/menu_data.js
http://www.pbhs2004.com/index1.htm - works correctly
http://www.pbhs2004.com/classmembers.htm - page not working
Thanks again
Chris
chbrandt@tcmax.net
http://www.pbhs2004.com/milonic/menu_data.js
http://www.pbhs2004.com/index1.htm - works correctly
http://www.pbhs2004.com/classmembers.htm - page not working
Thanks again
Chris
chbrandt@tcmax.net
Hi Chris,
Just taking a cursory look, at least part of the problem is the presence of pagecolor and pagebgcolor in your menuStyle... pagebgcolor is set to white right now, but pagecolor is set to black... which is why the "Misc" item in your test is black. Apparently, the pagecolor property takes precedence over the visitedcolor property. I'd suggest removing pagecolor (and pagebgcolor if you aren't using it) from your style, and see if that takes care of it.
Hope that helps,
Kevin
Just taking a cursory look, at least part of the problem is the presence of pagecolor and pagebgcolor in your menuStyle... pagebgcolor is set to white right now, but pagecolor is set to black... which is why the "Misc" item in your test is black. Apparently, the pagecolor property takes precedence over the visitedcolor property. I'd suggest removing pagecolor (and pagebgcolor if you aren't using it) from your style, and see if that takes care of it.
Hope that helps,
Kevin
Wow...thank you so much!
Thanks a lot, thats what the problem was!
Woulda never figured that out tho! 
Chris


Chris