Toon posts:

problemen met gif-afbeelding

Pagina: 1
Acties:
  • 47 views sinds 30-01-2008

Verwijderd

Topicstarter
Had vanmiddag al iets gevraagd mbt het niet zichtbaar worden van een gif-afbeelding (banner01.gif, 800 * 81 pixels) in IE6 onder Windows XP. Dacht toen ff dat het bij hem wel werkte maar was dus niet zo. Bij mij thuis (IE5/6 en Opera6/7 onder Win98/W2k) werkt alles perfect en ook op andere systemen werkt het goed.

Maar dus niet bij iemand die IE6 met Xp draait. Ik vraag me af of het nu aan mijn code ligt of aan die gast zijn browserinstellingen oid.

Het gaat om de volgende URL:
http://www.lindersstoom.nl/testsite/nl/index.htm

Code index.htm:

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
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Lindersstoom.nl</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<LINK href="../scripts/linders.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript src="../scripts/linders.js" type=text/javascript></SCRIPT>
</HEAD>
<BODY bgcolor="#FFF2D9" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<DIV>
<TABLE class=header cellSpacing=0 cellPadding=0>
<TR>
  <TD height="81">[img]"../pics/banner/banner01.gif"[/img]</TD>
</TR>
</TABLE>
</DIV>
<DIV class=popup id=menu2> 
<TABLE onmouseover=clearTimeout("timeout") onmouseout='timeoutLayer("menu2")' cellSpacing=0 cellPadding=0>
<TR> 
  <TD onmouseover=MakeSelected(this) onmouseout=MakeDeselected(this)><A href="sitefiles/enterprise.htm" target="content">Enterprise</A></TD>
</TR>
<TR> 
  <TD onmouseover=MakeSelected(this) onmouseout=MakeDeselected(this)><A href="sitefiles/hendrina.htm" target="content">Hendrina</A></TD>
</TR>
<TR> 
  <TD onmouseover=MakeSelected(this) onmouseout=MakeDeselected(this)><A href="sitefiles/draaiorgel.htm" target="content">Draaiorgel</A></TD>
</TR>
</TABLE>
</DIV>
<DIV>
<TABLE class=menu width="99" cellPadding=0 cellSpacing=0 >
<TR>
  <TD onmouseover='hideLayer("menu2");MakeSelected(this)' onmouseout=MakeDeselected(this) vAlign=top><A href="sitefiles/home.htm" target="content">Home</A></TD>
</TR>
<TR>
  <TD onmouseover='hideLayer("menu2");MakeSelected(this)' onmouseout=MakeDeselected(this) vAlign=top><A href="sitefiles/nieuws.htm" target="content">Nieuws</A></TD>
</TR>
<TR>
  <TD onmouseover='showLayer("menu2");MakeSelected(this);clearTimeout(timeout)' onmouseout='timeoutLayer("menu2");MakeDeselected(this)' vAlign=top>Collectie</TD>
</TR>
<TR>
  <TD onmouseover='hideLayer("menu2");MakeSelected(this)' onmouseout=MakeDeselected(this) vAlign=top><A href="../all/gallery/spgm.php" target="content">Fotogallery</A></TD>
</TR>
<TR>
  <TD onmouseover='hideLayer("menu2");MakeSelected(this)' onmouseout=MakeDeselected(this) vAlign=top><A href="calendar/singlecal.php" target="content">Evenementen</a></TD>
</TR>
<TR>
  <TD onmouseover='hideLayer("menu2");MakeSelected(this)' onmouseout=MakeDeselected(this) vAlign=top><A href="guestbook/guestbook.php" target="content">Gastenboek</A></TD>
</TR>
<TR>
  <TD onmouseover='hideLayer("menu2");MakeSelected(this)' onmouseout=MakeDeselected(this) vAlign=top><A href="sitefiles/forum.php" target="content">Forum</A></TD>
</TR>
<TR>
  <TD onmouseover='hideLayer("menu2");MakeSelected(this)' onmouseout=MakeDeselected(this) vAlign=top><A href="sitefiles/contact.htm" target="content">Contact</A></TD>
</TR>
</TABLE>
</DIV>
<DIV class=content> 
<IFRAME name=content src="sitefiles/home.htm" frameBorder=0 width=685 height=600></IFRAME>
</DIV>
</BODY>
</HTML>

[ Voor 23% gewijzigd door Verwijderd op 30-12-2002 23:42 ]


  • Hangloozz
  • Registratie: Juli 1999
  • Laatst online: 13-07 17:24

Hangloozz

{ @$%&# }

zet die html eens tussen code-tags als je wil..:

[ code]
...
html
...
[ /code]

Als ik de code even bekijk ziitten er veel fouten in waardoor er onvoorspelbaar gedrag verwacht kan worden van browsers, maar degen waar het in jouw geval over gaat is waarschijnlijk de Doucment Type Defenition.
IE6 verwacht tov de vorige versies wel dat de juiste versie bij de juiste html geplaatst wordt en weigert dan wel eens elementen juist weer te geven.
Wat je zou kunnen doen is de hele eerste regel:
code:
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

er uit slopen en dan nog eens testen.

www.jurgroessen.nl


Verwijderd

Topicstarter
Welke fouten zitten er in ?

  • mpegernie
  • Registratie: November 2000
  • Laatst online: 12-03-2016

mpegernie

.mpe

W3C HTML Validator
redelijk wat. Kijk daar eens naar.

edit: laatmaar

[ Voor 53% gewijzigd door mpegernie op 30-12-2002 23:43 ]

"The Major advances in civilization are processes that all but wreck the societies in which they occur." -A. N. Whitehead


Verwijderd

Topicstarter
hehe doctype er toch maar weer inzetten

w3c heb ik al gechekct maar die komt met gezeur dat ik bepaalde waardes voor het menu tussen quotes moet zetten, als ik dat doe werkt het menu niet goed meer

  • mpegernie
  • Registratie: November 2000
  • Laatst online: 12-03-2016

mpegernie

.mpe

hmmm, tja, ik zie ook geen fouten mbt je banner. ik kan op het moment ff niet zelf checken of het werkt in XP, straks weer. 2000 geeft geen probs hier.

"The Major advances in civilization are processes that all but wreck the societies in which they occur." -A. N. Whitehead


Verwijderd

Site en banner zien er k uit.
Alleen je gebruikt de rechterkant van de pagina niet.
er is ong 25% niet in gebruik.
Ik gebruik XP met een beeld res van 1152x864

Defcon 2

Verwijderd

Topicstarter
ok thnx

  • Hangloozz
  • Registratie: Juli 1999
  • Laatst online: 13-07 17:24

Hangloozz

{ @$%&# }

je wilt weten wat er aan schort?
ok komt ie:
Line Message
4 The value CONTENT-TYPE is not valid for the "http-equiv" attribute in HTML20. The value is valid if double quoted.
4 CONTENT-TYPE is not a valid value for the "http-equiv" attribute in any of the currently active versions. See the above warnings for more details.
5 The value TEXT/CSS is not valid for the "type" attribute in HTML4. The value is valid if double quoted.
5 TEXT/CSS is not a valid value for the "type" attribute in any of the currently active versions. See the above warnings for more details.
6 The value TEXT/JAVASCRIPT is not valid for the "type" attribute in HTML4. The value is valid if double quoted.
6 TEXT/JAVASCRIPT is not a valid value for the "type" attribute in any of the currently active versions. See the above warnings for more details.
8 The tag: "body" doesn't have an attribute: "leftmargin" in currently active versions.
8 The tag: "body" doesn't have an attribute: "topmargin" in currently active versions.
8 The tag: "body" doesn't have an attribute: "marginwidth" in currently active versions.
8 The tag: "body" doesn't have an attribute: "marginheight" in currently active versions.
17 The value CLEARTIMEOUT("TIMEOUT") is not valid for the "onmouseover" attribute in HTML4. The value is valid if double or single quoted.
17 CLEARTIMEOUT("TIMEOUT") is not a valid value for the "onmouseover" attribute in any of the currently active versions. See the above warnings for more details.
19 The value MAKESELECTED(THIS) is not valid for the "onmouseover" attribute in HTML4. The value is valid if double or single quoted.
19 MAKESELECTED(THIS) is not a valid value for the "onmouseover" attribute in any of the currently active versions. See the above warnings for more details.
19 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
19 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
22 The value MAKESELECTED(THIS) is not valid for the "onmouseover" attribute in HTML4. The value is valid if double or single quoted.
22 MAKESELECTED(THIS) is not a valid value for the "onmouseover" attribute in any of the currently active versions. See the above warnings for more details.
22 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
22 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
25 The value MAKESELECTED(THIS) is not valid for the "onmouseover" attribute in HTML4. The value is valid if double or single quoted.
25 MAKESELECTED(THIS) is not a valid value for the "onmouseover" attribute in any of the currently active versions. See the above warnings for more details.
25 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
25 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
32 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
32 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
35 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
35 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
41 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
41 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
44 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
44 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
47 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
47 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
50 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
50 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
53 The value MAKEDESELECTED(THIS) is not valid for the "onmouseout" attribute in HTML4. The value is valid if double or single quoted.
53 MAKEDESELECTED(THIS) is not a valid value for the "onmouseout" attribute in any of the currently active versions. See the above warnings for more details.
die meldingen mbt je code kun je eenvoudig voorkomen door op de juiste wijze de quotes te gebruiken.
dit:
HTML:
1
<TABLE onmouseover=clearTimeout("timeout") onmouseout='timeoutLayer("menu2")' cellSpacing=0 cellPadding=0>

wordt dit:
HTML:
1
<table onmouseover="clearTimeout('timeout');" onmouseout="timeoutLayer('menu2');" cellspacing="0" cellpadding="0">

zonder gevaar voor de werking.

De meeste errors in bovenstaand raport hebben betrekking op foutief gebruik van de quotes.

www.jurgroessen.nl


  • Willem
  • Registratie: Februari 2001
  • Laatst online: 26-08 21:05
Je vorige topic ( banner op website verschijnt soms niet ) ging niet voor niets op slot.

Motor (of auto) onderhoud bijhouden

Pagina: 1

Dit topic is gesloten.