[Pro] CSS link styles - looses style

Hey there

I used CSS in my top navigation. I finally learned to use multiple link design. So im having two sets of links.
In my navigation I have some problems.
http://www.tjekligeminside.dk/cph/
Try the different links in the navigation. When you have tried all the links, something stranges happens. Back at “forside” (home) the links have lost their hover effect. And cases suddenly have an another font size?
I have maded a following css:
.navi
.navi a
.navi a:hover

Can someone please tell what Im doing wrong?

/ Dennis


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dennis,

Make your hover style like this:

.navi a:hover, .navi a:visited { color:#9c0; font-family:Helvetica,Verdana; text-decoration:underline; font-size:12px }

Currently you have the .navi a:visited set to stay grey on the home page:

.navi a:visited { color:#ccc; font-family:Helvetica,Verdana }

Hope this helps,

Joe

On 8 Feb 2010, at 19:06, Dennis Mathiasen wrote:

Hey there

I used CSS in my top navigation. I finally learned to use multiple link design. So im having two sets of links.
In my navigation I have some problems.
http://www.tjekligeminside.dk/cph/
Try the different links in the navigation. When you have tried all the links, something stranges happens. Back at “forside” (home) the links have lost their hover effect. And cases suddenly have an another font size?
I have maded a following css:
.navi
.navi a
.navi a:hover

Can someone please tell what Im doing wrong?

/ Dennis


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thats exactly the point, I dont want the navigation to stay gray. I want it like im doing a rollover effect with a picture. It should turn back to normal. My problem is, that when the page is visited it dont do the hover.

Do I misunderstand what you have written to me?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hmm it seems to work now, dont know what I did? :slight_smile:

Thx for helping out.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You removed the .navi a:visited style that I said was causing the problem before.

Joe

On 9 Feb 2010, at 19:51, Dennis Mathiasen wrote:

Hmm it seems to work now, dont know what I did? :slight_smile:

Thx for helping out.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ohh I was confused, because you wrote:
Make your hover style like this:

.navi a:hover, .navi a:visited

So I didnt read as - delete it?

:slight_smile:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options