HTML code in VSD #2 - Page 3 - Post...

User 271657 Photo


Ambassador
3,816 posts

If this is for one single link that's different from others on the page or site, maybe it needs an id (#) to keep it from picking up stuff from other link classes?

html:
<div id="gohome"><a href="http://mywebsitename.com">HOME</a></div>

<style type="text/css">
<!--
#gohome a:link, a:visited { color: #000000; text-decoration: none; }
#gohome a:hover { color: #DDDDDD; text-decoration: none; }
#gohome a:active {color: #000000; }
-->
</style>

I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 219465 Photo


Registered User
324 posts

paintbrush,

The code you gave me works. I will exp with it a bit later to make sure it works everywhere.
Here is a link to my test site: http://n1wwz.coffeecup.com/site/

Thanks,
Marc
User 271657 Photo


Ambassador
3,816 posts

Cool :cool:
I like your site background. I have some of those old wood planers (from my dad). :)
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 219465 Photo


Registered User
324 posts

Ok, now that I got back to it, I can not change the color? They are all black no matter what I change the code to.

The HOME page is set for black (000000) and all others are set for white (FFFFFF), except the last one GALLERY say WHITE in the code (Just experimenting). Prior to this I was able to change it. I have shut down and rebooted, and cleared the cache. :(
User 2147626 Photo


Ambassador
2,958 posts

<!--html inserted by user -->
<style type="text/css">

<!--
a.back_button { color:#ffffff; font-weight:bold; }
a.back_button:visted{ color:#FFFFFF; }
a.back_button:hover { color:#FFFFFF; }
a.back_button:active { color:#FFFFFF; }
-->
</style>

<style type="text/css">
<!--
#gohome a:link, a:visited { color: #000000; text-decoration: none; font-weight:bold;font-size: 18px; }
#gohome a:hover { color: #000000; text-decoration: none; }
#gohome a:active {color: #000000; }
-->
</style>

<style type="text/css">
<!--
#gohome a:link, a:visited { color: #FFFFFF; text-decoration: none; font-weight:bold;font-size: 18px; }
#gohome a:hover { color: #FFFFFF; text-decoration: none; }
#gohome a:active {color: #FFFFFF; }
-->
</style>

<style type="text/css">
<!--
#gohome a:link, a:visited { color: #FFFFFF; text-decoration: none; font-weight:bold;font-size: 18px; }
#gohome a:hover { color: #FFFFFF; text-decoration: none; }
#gohome a:active {color: #FFFFFF; }
-->
</style>

<style type="text/css">
<!--
#gohome a:link, a:visited { color: #FFFFFF; text-decoration: none; font-weight:bold;font-size: 18px; }
#gohome a:hover { color: #FFFFFF; text-decoration: none; }
#gohome a:active {color: #FFFFFF; }
-->
</style>

<style type="text/css">
<!--
#gohome a:link, a:visited { color: "WHITE"; text-decoration: none; font-weight:bold;font-size: 18px; }
#gohome a:hover { color: "WHITE"; text-decoration: none; }
#gohome a:active {color: "WHITE"; }
-->
</style>

<style type="text/css">
<!--
#gohome a:link, a:visited { color: #FFFFFF; text-decoration: none; font-weight:bold;font-size: 18px; }
#gohome a:hover { color: #FFFFFF; text-decoration: none; }
#gohome a:active {color: #FFFFFF; }
-->
</style>

<style type="text/css">
<!--#gohome a:link, a:visited { color: #000000; text-decoration: none; font-weight:bold;font-size: 18px; }
#gohome a:hover { color: #000000; text-decoration: none; }
#gohome a:active {color: #000000; }
-->
</style>
<!--end of html inserted by user -->

Can someone take a look at the code on his page. This can't be right, can it?
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 187934 Photo


Senior Advisor
20,271 posts

I think there may be a little duplication.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 271657 Photo


Ambassador
3,816 posts

Marc, if you want some of them to be black and others to be white, you'll need to create another ID for the white one.
So if #gohome is #000000 you could have #backhome and make it #FFFFFF.
Call these whatever you want, just as long as they each have their own unique name.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 219465 Photo


Registered User
324 posts

Like I said, I dont know HTML well at all :( We need an embarrassed smile here :P Now I see what I did....:rolleyes: Anyway, I have said it before so here goes.......BEST SUPPORT GROUP AROUND! I would buy you a coffee if I could :D

Thanks guys,
Marc
User 219465 Photo


Registered User
324 posts

I will be sure to post the finished product when complete.
User 271657 Photo


Ambassador
3,816 posts

Like I said, I dont know HTML well at all ....

You seem to be getting along well with your crash course :D
Looking good so far!
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com

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.