Toon posts:

dubbel teken op website, staat niet in bron !?

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik heb een website in het CMS TYPO3 en daar heb ik een taalselectie menu in gebouwd, werkt allemaal goed.

Nu wilde ik welke taal actief is, een highlight meegeven, en dit werkt ook goed, maar niet helemaal...


Als je hierheen gaat in MSIE (heb het nog niet in firefox gezet) dan zie je dat de taal EN is geselecteerd (rechts bovenin).

Als je nu op bv DE of JA klikt, wordt die gekleurd alleen verschijnt er onder SC een kleine C, die ik niet in de bron kan vinden, en ik snap ook niet hoe deze daar komt!?


Als je naar de taal SC gaat dat is hij weer weg...

EN en SC werken dus goed.
bij DE en JA verschijnt dit C'tje...

Kan dit iets te maken hebben met mijn floats?
(de items in het menu floaten allemaal left)

Wat kan dit veroorzaken? op Got kan ik er niks over vinden.. het are is ook dat dit teken niet in de bron verschijnt, is dit een bug oid?


Stukje CSS wat over de language gaat:
Cascading Stylesheet:
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.pipeline2 {
margin-left: 4px;
margin-right: 4px;
display: block;
float: left;
padding-top: 6px;
}

/* position 'n markup for the language selection */
#languages {
position: relative;
width: 339px;
height: 18px;
background-color: #818181;
color: #FFFFFF;
letter-spacing: 1px;
font-size: 9px;
text-align: right;
/* padding-top: 6px; */
padding-right: 12px;
}
#languages a:link {
color: #FFFFFF;
text-decoration: none;
font-weight: normal;
font-size: 9px;
display: block;
float: left;
padding-top: 6px;
}
#languages a:visited {
color: #FFFFFF;
text-decoration: none;
font-weight: normal;
font-size: 9px;
display: block;
float: left;
padding-top: 6px;
}
#languages a:hover {
text-decoration: underline;
}

.languageact a:link {
display: block;
color: #FFFFFF;
margin: 0px;
padding: 0px; 
background-color: #90201F;
height: 18px;
float: left;
padding-top: 6px;
display: block;
float: left;
}
.languageact a:visited {
display: block;
color: #FFFFFF;
margin: 0px;
padding: 0px; 
background-color: #90201F;
height: 18px;
float: left;
padding-top: 6px;
display: block;
float: left;
}

[ Voor 43% gewijzigd door Verwijderd op 29-08-2005 10:25 ]


  • Zoefff
  • Registratie: September 2001
  • Laatst online: 01-05 10:37

Zoefff

❤ 

In FireFox zie ik het in ieder geval niet, in IE wel. Meen me te herinneren ooit een artikel gelezen te hebben over 'spookkarakters' in IE, zal eens even zoeken.

Eerste hit :P

http://www.positionisever...lorer/dup-characters.html
Internet Explorer 6 has a puzzling bug involving multiple floated elements; text characters from the last of the floated elements are sometimes duplicated below the last float. This bug is a real headbanger because there seems to be nothing triggering it. However, by now everyone should know that IE needs no excuse to misbehave.

The direct cause is nothing more than ordinary HTML comments, such as, <!-- end left column -->, sandwiched between floats that come in sequence. Apparently, the comments are hard for IE to digest when they occupy those positions, resulting in a kind of "screen diarrhea". HTML comments inside the floats do not cause the bug, nor do comments before or after the float series. Only comments residing between floats cause the bug.

The effect seen is that some of the last characters from the last floated element of the series are repeated outside and below that floated element. The first sandwiched comment does nothing unusual, but two comments cause the last two characters in that last float to repeat. Each additional comment makes two more characters join the party. It doesn't matter which pair of floats straddle the comments. In fact the two triggering comments may follow different floats as long as they have floats both before and after them.

[ Voor 94% gewijzigd door Zoefff op 29-08-2005 10:09 ]


FotoblogWerkaandemuur.nlMoestuincursus.nlTwitter


Verwijderd

Topicstarter
Nee dat klopt, ik heb dit ook nog niet geactiveerd in Firefox (staat in de OP), ik zal die link even gaan lezen.

Edit:
Inderdaad, dat is precies wat het is, alleen ik heb nergens comments tussen die floats staan hoor :?

Edit2:
Alhoewel, als ik een optie in het CMS aanzet alle comments weghalen dan lijkt het goed te gaan, alleen dan werkt de site niet goed meer.
Ik ga kijken of ik 1 van de fixen kan toepassen.

[ Voor 65% gewijzigd door Verwijderd op 29-08-2005 10:20 ]


Verwijderd

Topicstarter
Het is gelukt, margin-right: -3px; fix deed het, thx Zoefff

Verwijderd

<BR> heeft bij mij geholpen