---
title: "a.minclass:hover olika i FF och IE"
type: "forum-thread"
url: "https://www.webforum.nu/amne/html-css/133434-a-minclass-hover-olika-i-ff-och-ie"
topic: "HTML & CSS"
topic_url: "https://www.webforum.nu/amne/html-css"
author: "streetrobban"
published: "2005-08-29T09:23:13.000Z"
updated: "2005-08-29T11:01:18.000Z"
replies: 4
views: 225
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/html-css/133434-a-minclass-hover-olika-i-ff-och-ie"
---

# a.minclass:hover olika i FF och IE

## #1 — streetrobban, 2005-08-29T09:23Z

Tjenare,

Försöker få olika utseende på mina länkar, och det funkar nästan. Det blir dock fel vid HOVER. Då händer ingenting. Alltså, det funkar i IE, men inte i FF.

```
a:link {
	text-decoration: none;
	color: #695001;
	font-weight: none;
}

a:visited {
	text-decoration: none;
	color: #695001;
	font-weight: none;
}

a:hover {
	text-decoration: underline;
	color: #000000;
	font-weight: none;
}

a:active {
	text-decoration: none;
	color: #695001;
	font-weight: none;
}

a.hidden {
	text-decoration: none;
	color: #BEB187;
	font-weight: none;
}

a.hidden:hover {
	text-decoration: underline;
	color: #695001;
	font-weight: none;
}

a.hidden:visited {
	text-decoration: none;
	color: #BEB187;
	font-weight: none;
}
```

Permalänk: https://www.webforum.nu/p/133434

## #2 — Insider, 2005-08-29T09:32Z

Visited ska ligga före hover.
<http://meyerweb.com/eric/css/link-specificity.html>

Permalänk: https://www.webforum.nu/p/1663620

## #3 — streetrobban, 2005-08-29T09:49Z

Tack för hjälpen! :)

Permalänk: https://www.webforum.nu/p/1663627

## #4 — Insider, 2005-08-29T10:49Z

Minnesregel: "LoVeHAte" (LVHA). ;) 
(och focus sist om det används)

Permalänk: https://www.webforum.nu/p/1663647

## #5 — zcorpan, 2005-08-29T11:01Z

> **Insider skrev:**
>
> (och focus sist om det används)

Det beror på vilket resultat man vill ha. :) Om man tex vill att hovereffekten ska gälla även om länken har fokus, så får man lägga :focus före :hover.

Permalänk: https://www.webforum.nu/p/1663651

---

Tråden på webben: https://www.webforum.nu/amne/html-css/133434-a-minclass-hover-olika-i-ff-och-ie
