That's what comes of splicing old code for new jobs, rather than writing from a fresh perspective.
The original purpose was for a breadcrumb arrow image and the links. The image was transparent and both the link's background in original and visited state was to remain the same colour. The code was something like:
.div ul ul a.link, .div ul ul a.link:visited
What I tried to do was take the two, seperate them and apply them to another webpage, but instead of visited it was with the > hover aspect and have the image change (the image being a rounded corner edge). Basically it's not the best way, and I should have written the code from the ground up. Trying to save time. I was messing with:
{ -khtml-border-radius: 0em 0em 1em 1em; -webkit-border-radius: 0em 0em 0em 0em;
border-radius: 0em 0em 0em 0em; -moz-border-radius: 0em 0em 0em 0em;}
...and finding it far less than satisfying unless one uses FF. I got rounded corners, but the colour formats got lost on hover. Was looking at ways of avoiding the above code (also for validation reasons - I don't like the webkit aspect). Strangely, now the flipping thing works fine across all browsers. No colour loss.
Tis a funny old thing sometimes, CSS.
~~~~~~~~~~
© Camieabz 2002-2011
Live BQM
