Toon posts:

[CSS] External CSS werkt soms niet

Pagina: 1
Acties:

Verwijderd

Topicstarter
op http://62.108.27.230/temp/index.htm
staat mijn site (WIP), ik ben nu bezig met het onderste gedeelte, maar als je hem in netscape bekijkt, dan lijkt het alsof ie de css gewoon niet 'neemt'... zlefs de achtergrondkleur doet hij niet goed. ik heb er soms ook wel last van gehad dat als ik een page maak met een external css, dat hij hem soms gewoon niet 'neemt' (de css file), zonder dat ik ook maar iets heb veranderd... ben ik nou achterlijk of wat... heeft een van jullie hier wel eens last van gehad en er info over?

  • JSchut
  • Registratie: Februari 2002
  • Laatst online: 21:28

JSchut

.....

heb je wel alles goed afgesloten dus alles met ; OOK de laatste?

als je dat al hebt gedaan en het werkt dus nog niet kan je de src van je css file ff posten?

PSN jschut_82 | Xbox: JSchut82


Verwijderd

Topicstarter
ja, alles is helemaal afgesloten, hier nog ff mijn css:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
body, a
{
font-family: "Verdana,Arial,Helvecta";
font-size: 10px;
color: "#CECECE";
background-color: "#000E4A";
margin-top: 0px;
margin-left: 0px;
scrollbar-face-color:#000E4A;
scrollbar-arrow-color:#CECECE;
scrollbar-track-color:#000E4A;
scrollbar-shadow-color:#CECECE;
scrollbar-highlight-color:#000E4A;
scrollbar-3dlight-color:#CECECE;
scrollbar-darkshadow-color:#000E4A;
text-decoration: none;
}
#mtable
{
text-align: left;
border: 0px;
border-collapse: collapse;
border-color: "#111111";
width: 1px;
height: 1px;
}
img
{
border: 0px;
}
#optiebutton
{
font-size: 10px;
font-family: "Verdana,Arial,Helvecta";
}
#ondertxt
{
font-size: 10px;
font-family: "Verdana,Arial,Helvecta";
text-align: "center";
color: "#000000";
font-weight: "bold";
}
#onderimg
{
z-index: "-1";
position: "absolute";
left: "10";
}

  • Willem
  • Registratie: Februari 2001
  • Laatst online: 21:02
Junt:
ja, alles is helemaal afgesloten, hier nog ff mijn css:

[knip...]
-al was het alleen al voor de leesbaarheid/duidelijkheid/overzichtelijkheid- :
Doe voortaan even je CSS gewoon stylen, dan kun je ook sneller fouten ontdekken :
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
body, a {
  font-family:Verdana,Arial,Helvecta;
  font-size:10px;
  color:#CECECE;
  text-decoration:none;

  background-color: "#000E4A";
  margin-top: 0px;
  margin-left: 0px;

  scrollbar-face-color:#000E4A;
  scrollbar-arrow-color:#CECECE;
  scrollbar-track-color:#000E4A;
  scrollbar-shadow-color:#CECECE;
  scrollbar-highlight-color:#000E4A;
  scrollbar-3dlight-color:#CECECE;
  scrollbar-darkshadow-color:#000E4A;
}

#mtable {
  text-align:left;
  border:0px;
  border-collapse:collapse;
  border-color:#111111;
  width:1px;
  height:1px;
}


img {
  border:0px;
}

#optiebutton {
  font-size:0px;
  font-family:Verdana,Arial,Helvecta;
}

#ondertxt {
  font-size:10px;
  font-family:Verdana,Arial,Helvecta;
  text-align:center;
  color:#000000;
  font-weight:bold;
}

#onderimg {
  z-index:-1;
  position:absolute;
  left:10px;
}

En dus bijvoorbeeld je font-family, en color niet tussen "'s zetten.
Ook moet je maateenheden opgeven. 10 is niks, 10px daarentegen wel.

Motor (of auto) onderhoud bijhouden


  • BtM909
  • Registratie: Juni 2000
  • Niet online

BtM909

Watch out Guys...

Kleinigheidje:

Lettertype Helvecta moet zijn Helvetica.


Tenzij jij natuurlijk dat lettertype wel hebt :P

Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.