WN

WN (https://www.wn.se/forum/index.php)
-   Klientsidans teknologier, design och grafik (https://www.wn.se/forum/forumdisplay.php?f=12)
-   -   CSS - Varför visas inte mina angivna färger? (https://www.wn.se/forum/showthread.php?t=21810)

jarnheimer 2007-06-14 14:51

Hejsan!

Jag har ett hemskt problem som jag inte lyckas reda ut. I min http://www.billigalan.se/layout/css/global.css har jag angivit att alla länkar ska ha färgen 1284bf. Men så är visas det inte på http://www.billigalan.se. På hemsidan fungerar alla CSS inställningar men inte färgen i länkarna. I Dreamweaver fungerar det, men inte i Firefox och Safari.

global.css:
Citat:

/* Billigalån */

body {

margin: 25px;

background-color:#fff;

font-family:Georgia, 'Times New Roman', Times, serif;

font-size:11px;

color:#333;

}

/* Länkar */
a:link { text-decoration: none; color: 1284bf;}
a:visited { text-decoration: none; color: 1284bf;}
a:active { text-decoration: underline;}
a:hover { text-decoration: underline;}

h1 {

font-weight:normal;

color:#c00;

margin:0 0 10px 0;

}

h2 {

font-weight:normal;

color:#666;

margin:0 0 10px 0;

padding:0 0 10px 0;

border-bottom:1px solid #ccc;

}

h3 {

font-weight:normal;

color:#999;

margin:0;

font-size:13px;

padding:0;

}

Snälla hjälp mig, jag blir näst intill skogstokig!

Indigo 2007-06-14 14:53

Du har glömt brädgården #

Så här ska det se ut:
a:link { text-decoration: none; color: #1284bf;}
a:visited { text-decoration: none; color: #1284bf;}

spiroo 2007-06-14 16:08

En liten sak bara;

Man ska ha länkarna i ordningen:

a:link { text-decoration: none; color: 1284bf;}
a:visited { text-decoration: none; color: 1284bf;}
a:hover { text-decoration: underline;}
a:active { text-decoration: underline;}

Om man ska vara petig förstås ... :)


Alla tider är GMT +2. Klockan är nu 06:30.

Programvara från: vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson