css mouse over on links - Post ID 84748

User 128428 Photo


Registered User
110 posts

Hi I have been using the following code in my header to make my links mouseover green for a while now. After 6.0 only some links are green while others do not have any color change...any suggestions.

You can see what I mean at this site (on the bottom links) www.flyball500.com

code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<!-- Created with the CoffeeCup HTML Editor 2007 -->
<!-- http://www.coffeecup.com/ -->
<!-- Brewed on 12/22/2007 2:47:00 PM -->
<head>
<title></title>
<meta name="generator" content="CoffeeCup HTML Editor 2007 - www.coffeecup.com">
<meta name="description" content="">
<meta name="keywords" content="">
<style type="text/css">
<!--
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
/* Add Hover with color to links */
a:hover {text-decoration: none; color:#006600

;}
-->
</style>
User 128428 Photo


Registered User
110 posts

Also tried this code:

<style type="text/css">
a:link {
color: #BDBDBD;
}

a:visited {
color: #BDBDBD;
}

a:hover {
color: #088A08;
}

a:active {
color: #BDBDBD;
}
</style>
User 463058 Photo


Ambassador
1,085 posts
Online Now

You are inserting too much code, so you have an extra doctype, opening html and head tags and title tags. Just insert the following code, and see how that works:

<style type="text/css">
<!--
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
/* Add Hover with color to links */
a:hover {text-decoration: none; color:#006600;}
-->
</style>
User 463058 Photo


Ambassador
1,085 posts
Online Now

You also have this code coming after and overriding your inserted styling.

<style type="text/css">
body {
margin: 0px;
padding : 0px;
text-align: center;
height: 100%;
width: 100%;
background-color: #ffffff;
}


a:link {
color: #ffffff;
}


a:visited {
color: #ffffff;
}

</style>


I don't know how that link and visited styling is defined within VSD, but you should leave them undefined, if possible, so this styling won't show up and style the links.

User 128428 Photo


Registered User
110 posts

how do I leave them undefined?
User 128428 Photo


Registered User
110 posts

This problem is still not solved. I tried everything mentioned. The only thing I can think of is going in an manuelly delelting the following code mentioned as extra code above...this would mean hundereds of pages.

"You also have this code coming after and overriding your inserted styling.

<style type="text/css">
body {
margin: 0px;
padding : 0px;
text-align: center;
height: 100%;
width: 100%;
background-color: #ffffff;
}


a:link {
color: #ffffff;
}


a:visited {
color: #ffffff;
}

</style>

I don't know how that link and visited styling is defined within VSD, but you should leave them undefined, if possible, so this styling won't show up and style the links."
User 282670 Photo


Registered User
3,940 posts

you'll need to go back to FlashVortex and change your setting there as it is a flash menu and can only be edited in the swf for the mouseover.




User 128428 Photo


Registered User
110 posts

no I am not talking about flash vortex...omg...I know my menu is flash. I am talking about the text links on all pages. For example on the bottom of every page or the footer if you will...in the new vsd those are randomly turning green on mouseover instead of all of them 100% of the time.

Any help here?
User 282670 Photo


Registered User
3,940 posts

Sorry Eric,,
thought you mean't the top ones... try updating VSD, a new upgrade came out a couple days ago and see if that helps, it is suppose to have fixed the problem of styles. let us know please. you also need to remove this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<!-- Created with the CoffeeCup HTML Editor 2007 -->

<!-- http://www.coffeecup.com/ -->

<!-- Brewed on 12/22/2007 2:47:00 PM -->

<head>

<title></title>

<meta name="generator" content="CoffeeCup HTML Editor 2007 - www.coffeecup.com">

<meta name="description" content="">

<meta name="keywords" content="">
to much coding




User 128428 Photo


Registered User
110 posts

ok thanks I will try it!!!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.