css sous firefox

Tintin
Invité n'ayant pas de compte PHPfrance

15 sept. 2006, 09:23

Bonjour,

Voila, j'ai un probleme j'ai créé une feuille de style css, je n'ai aucun souci sous internet explorer mais sous firefox elle n'est pas du tout prise en compte.

Y a t il quelque chose a faire de spécial ?

merci d'avance

Avatar du membre
ViPHP
ViPHP | 3008 Messages

15 sept. 2006, 09:25

Du code ;) Appel à la CSS...etc

Tintin
Invité n'ayant pas de compte PHPfrance

15 sept. 2006, 09:43

je n'ai pas compris se que tu voulais dire

Avatar du membre
ViPHP
ViPHP | 3008 Messages

15 sept. 2006, 09:44

On comprend ton problème mais il nous est impossible de t'aider si on a pas de ressources, du code. Comment fais-tu appel à la CSS ? Montres nous ta CSS.

Tintin
Invité n'ayant pas de compte PHPfrance

15 sept. 2006, 10:24

ok, je fais appel a ma css de cette manière :
<link rel="stylesheet" type="text/css" href="..\..\..\style.css">

et ma css est :
 body { background:#FFFFFF; color:#000000; font-size:14px; font-family:Tahoma; }
a:link { color:#000066; text-decoration:none; font-weight:normal; }
a:visited { color:#006633; text-decoration:none; font-weight:normal; }
h1 { font-family:Tahoma; font-size:30px; color:#000000; text-decoration:none; font-weight:bold; text-align:center; }
h2 { font-family:Tahoma; font-size:24px; color:#000000; text-decoration:none; font-weight:bold; text-align:center;}
th { background-color:#CCCCCC; font-size:14px; color:#000000; font-weight:bold; text-align:center; font-family:Tahoma; }
td { font-size:12px; color:#000000; text-align:center; font-family:Tahoma; }
LABEL { DISPLAY: inline ; FLOAT:left ; WIDTH: 170px ; margin-left: 75px ; font-family:Tahoma; font-size:14px; }
merci d'avance

Avatar du membre
ViPHP
ViPHP | 3008 Messages

15 sept. 2006, 10:26

Code : Tout sélectionner

<link rel="stylesheet" type="text/css" href="..\..\..\style.css">
..\ --> pas bon

../ --> bon ;)

Tintin
Invité n'ayant pas de compte PHPfrance

15 sept. 2006, 10:48

Merci bcp, je n'aurai vraiment pas penser a ça etant donnée que sa marchais sur IE