Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / CSS Issues: a:Visited & A:Hover

CSS Issues: a:Visited & A:Hover

Locked

Views: 627

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Feb 2010, 4:58 PM
#1
eyal8r avatar

eyal8r

Zen Follower

Join Date:
Jan 2010
Posts:
142
Plugin Contributions:
0

CSS Issues: a:Visited & A:Hover

Hey guys-
I'm giving up after a couple days trying to figure it out. I'm posting out of desperation. I'm sure it's something very simple and easy, but I'm just not seeing it.

Go to- h c g s u p p l y . c o m / s t o r e

The links in the Green EZPages bar- they're SUPPOSED to be white normally, then green when hover. Once the link is visited, I don't want it to change- so it stays white.

However, as soon as I visit a link, I lose the green hover color- the link just stays white and doesn't do the hover thing.

I tried deleting the a:visited reference completely- since I don't want the links to change AT ALL once they're visited (anywhere on the site)- but doing that turned the visited links to purple and underlined. :censored:

I'd REALLY appreciate the input. I'm learning a ton about this CSS stuff, but it's little things like this just throwing me.

2 Feb 2010, 5:11 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: CSS Issues: a:Visited & A:Hover

You should be using FireFox browser with the following ADD-ON plugins:

Developer Toolkit (by Chris Pederick)
Firebug

These tools allow you to load a page (in firefox) then "unpick" its components (including styles) while it is in "offline" mode.

The tools will also identify element-specific styles, so if you want a hover feature to apply ONLY to a specific style ID or CLASS, then you can write it into your stylesheet.

Unfortunately, the forum is not the place for comprehensive CSS tutorials, but many people (me included) will post help on CSS, but it is more beneficial if you have more than just a smattering of CSS knowledge.

As CSS is so important to layout, you would do well to install firefox and the tools described, and then do some CSS tutorials.

There are many free tutorial sites for CSS...

2 Feb 2010, 5:16 PM
#3
eyal8r avatar

eyal8r

Zen Follower

Join Date:
Jan 2010
Posts:
142
Plugin Contributions:
0

Re: CSS Issues: a:Visited & A:Hover

I actually HAVE that installed. I didn't know you can unpick items like that. Let me play with that and see what I can find...

2 Feb 2010, 5:18 PM
#4
eyal8r avatar

eyal8r

Zen Follower

Join Date:
Jan 2010
Posts:
142
Plugin Contributions:
0

Re: CSS Issues: a:Visited & A:Hover

HA! Got it fixed! THANK YOU!