Need Help with Links/CSS

User 271657 Photo


Ambassador
3,816 posts

I've got 3 different link issues going on here:
http://bigbendvet.com/information.html

This is a VSD site, but the menu box on the left and the scrolling div to the right of it were made in the HTML Editor. Keep in mind, I don't really know what I'm doing when I venture away from VSD :lol:
Anyway, here's what's going on:
1. Links in the scrolling div are white (as per the VSD settings) rather than the blue specified in the css for the div. (they show up if you run the cursor over them).
2. Links at the bottom of the page are picking up the colors (active, hover, visited..) from the above css, rather than using the VSD settings (they should stay white except visited - lt. blue); only on this page. Also, the links in the menu box aren't staying white when visited (as in the css).
3. How to make the articles (in the scrolling div) come to the top of the div when the subject is clicked in the menu. If this is possible. As it is now, a few of them work OK, clicking some of them causes the whole page to shift down.

When you look at the source code, the menu is here: div class="object 1872". The scrolling div is at div class="object1873"

Warning! There are no Easter Eggs to be found :P I hope someone will have a look anyway :lol:
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 187934 Photo


Senior Advisor
20,271 posts

Paintbrush. Did you insert the <style type="text/css"> in the head of the document or for each html box. I'm shooting from the hip here.:lol:
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 187934 Photo


Senior Advisor
20,271 posts

I think you need your
a:link { color:#000000; }
reference for the css in those objects.
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

Hi Eric - The css is included within the html box for each div. I thought it would only apply to its own div contents and not take over the VSD page (or vise-versa). Should those divs (with their css) be inside of divs to keep their styles separate from the rest of the page?

Do you mean that I need to put a color in this line too?:
a:link {text-decoration: none;}
...wouldn't that be too easy! :lol:

Thanks for having a look at this. :)
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 187934 Photo


Senior Advisor
20,271 posts

I'm playing around with your page in the editor and FF and I'm close. The two objects 1872/1873 in question seem to affect each other.:(
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

So if I would re-work this so the link styles were the same for each div, that might help? But will it be possible to have the VSD page and the div links different colors?
I'll wait to hear what you come up with before I start messing around with it :lol:
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 187934 Photo


Senior Advisor
20,271 posts

Wow, Paintbrush I thought I had it figured out then I was wrong. When I add the a link color #FF0000 to the object 1873 it changes the link color in 1872 and the links at the bottom to red. I bet the div tags and the css aren't playing well together. How about trying to code the two together into one html box?
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

That's an idea - I thought about trying that, but wanted to find out if there was a 'correct' way to do this before I start messing it up even more.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 187934 Photo


Senior Advisor
20,271 posts

I got the two objects loaded into vsd and it does the same thing as your page even when the only thing on my page is your two objects. I'm trying a couple of combos of code to get the two to stop working each other over.
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

:lol: Maybe the next step is taking a baseball bat to the computer? :lol::lol:

Thanks very much for spending so much time on this! One of these days I'll try a whole page in html/css and you'll see something that will make this seem like a piece of cake :lol::lol::lol:
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.