Toon posts:

Table probleem - vreemd??!!

Pagina: 1
Acties:

Verwijderd

Topicstarter
Hoi,

Ik probeer met een tabel een webpagina volledig te vullen (width en height op 100%). Als ik de pagina in Internet Explorer 5.5+ bekijk, blijft de tabel een aantal pixels van de rechter- en de onderkant 'staan'.

Het rare is nu, dat als de pagina ververst wordt, de tabel wel helemaal over de pagina gestrecthed wordt, hoe kan dit 8)7

Hier kan je het zien: http://www.unbreakaball.com/darts

Fjobje

  • nikao
  • Registratie: November 1999
  • Laatst online: 10-02-2022
heb je in de body tag de marginwidth en height op 0 staan?

Verwijderd

Topicstarter
Yep, alsmede de leftmargin en topmargin!
Ik heb erover gedacht om een rightmargin en bottommargin te zetten, maar dat verklaart niet waarom na refresh de tabel wel goed is..

Verwijderd

Een tabel heeft officiëel geen height attribuut. Verder heb je geen doctype opgegeven. Al dan niet absoluut gepositioneerde divjes werken beter denk ik, en ja, dat wordt wel je code een stukje aanpassen. Om te kijken of er nog fouten in je code staan kun je je code laten valideren op http://validator.w3.org :)

Succes :)

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

Hangloozz

{ @$%&# }

om FoOL nog even aan te vullen (je was wéér eerder, je gaat het leren ;) ), nog even een validation report:
Line Message
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.
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.
9 The tag: "table" doesn't have an attribute: "height" in currently active versions.
10 The tag: "tr" doesn't have an attribute: "height" in currently active versions.
11 The tag: "td" doesn't have an attribute: "background" in currently active versions.
12 The tag: "td" doesn't have an attribute: "background" in currently active versions.
16 The tag: "tr" doesn't have an attribute: "height" in currently active versions.
17 The tag: "td" doesn't have an attribute: "background" in currently active versions.
18 The tag: "td" doesn't have an attribute: "background" in currently active versions.
19 The tag: "td" doesn't have an attribute: "background" in currently active versions.
20 The tag: "td" doesn't have an attribute: "background" in currently active versions.
21 The tag: "td" doesn't have an attribute: "background" in currently active versions.
25 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
25 Nesting error, "b" should be closed before closing "font"
35 The tag: "table" doesn't have an attribute: "height" in currently active versions.
37 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
39 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
40 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
42 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
43 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
45 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
46 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
48 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
49 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
51 Nesting error, "b" should be closed before closing "table"
51 Nesting error, "font" should be closed before closing "table"
51 Nesting error, "b" should be closed before closing "table"
51 Nesting error, "font" should be closed before closing "table"
51 Nesting error, "b" should be closed before closing "table"
51 Nesting error, "font" should be closed before closing "table"
51 Nesting error, "b" should be closed before closing "table"
51 Nesting error, "font" should be closed before closing "table"
51 Nesting error, "b" should be closed before closing "table"
51 Nesting error, "font" should be closed before closing "table"
54 The tag: "table" doesn't have an attribute: "height" in currently active versions.
56 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
57 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
57 The tag: "td" doesn't have an attribute: "background" in currently active versions.
59 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
60 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
61 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
61 The tag: "td" doesn't have an attribute: "background" in currently active versions.
63 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
64 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
65 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
65 The tag: "td" doesn't have an attribute: "background" in currently active versions.
67 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
68 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
69 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
69 The tag: "td" doesn't have an attribute: "background" in currently active versions.
71 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
72 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
73 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
73 The tag: "td" doesn't have an attribute: "background" in currently active versions.
75 Nesting error, "b" should be closed before closing "table"
75 Nesting error, "font" should be closed before closing "table"
75 Nesting error, "b" should be closed before closing "table"
75 Nesting error, "font" should be closed before closing "table"
75 Nesting error, "b" should be closed before closing "table"
75 Nesting error, "font" should be closed before closing "table"
75 Nesting error, "b" should be closed before closing "table"
75 Nesting error, "font" should be closed before closing "table"
75 Nesting error, "b" should be closed before closing "table"
75 Nesting error, "font" should be closed before closing "table"
78 The tag: "table" doesn't have an attribute: "height" in currently active versions.
80 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
81 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
81 The tag: "td" doesn't have an attribute: "background" in currently active versions.
83 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
84 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
85 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
85 The tag: "td" doesn't have an attribute: "background" in currently active versions.
87 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
88 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
89 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
89 The tag: "td" doesn't have an attribute: "background" in currently active versions.
91 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
92 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
93 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
93 The tag: "td" doesn't have an attribute: "background" in currently active versions.
95 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
96 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
97 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
97 The tag: "td" doesn't have an attribute: "background" in currently active versions.
99 Nesting error, "b" should be closed before closing "table"
99 Nesting error, "font" should be closed before closing "table"
99 Nesting error, "b" should be closed before closing "table"
99 Nesting error, "font" should be closed before closing "table"
99 Nesting error, "b" should be closed before closing "table"
99 Nesting error, "font" should be closed before closing "table"
99 Nesting error, "b" should be closed before closing "table"
99 Nesting error, "font" should be closed before closing "table"
99 Nesting error, "b" should be closed before closing "table"
99 Nesting error, "font" should be closed before closing "table"
102 The tag: "table" doesn't have an attribute: "height" in currently active versions.
104 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
105 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
105 The tag: "td" doesn't have an attribute: "background" in currently active versions.
107 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
108 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
109 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
109 The tag: "td" doesn't have an attribute: "background" in currently active versions.
111 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
112 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
113 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
113 The tag: "td" doesn't have an attribute: "background" in currently active versions.
115 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
116 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
117 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
117 The tag: "td" doesn't have an attribute: "background" in currently active versions.
119 The tag:"tr" is not allowed within: "b" It is only allowed within: table, tbody, tfoot, thead.
120 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
121 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
121 The tag: "td" doesn't have an attribute: "background" in currently active versions.
123 Nesting error, "b" should be closed before closing "table"
123 Nesting error, "font" should be closed before closing "table"
123 Nesting error, "b" should be closed before closing "table"
123 Nesting error, "font" should be closed before closing "table"
123 Nesting error, "b" should be closed before closing "table"
123 Nesting error, "font" should be closed before closing "table"
123 Nesting error, "b" should be closed before closing "table"
123 Nesting error, "font" should be closed before closing "table"
123 Nesting error, "b" should be closed before closing "table"
123 Nesting error, "font" should be closed before closing "table"
126 The tag: "table" doesn't have an attribute: "height" in currently active versions.
136 The tag: "tr" doesn't have an attribute: "height" in currently active versions.
139 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
140 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
140 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
141 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
141 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
142 The tag:"td" is not allowed within: "b". No valid contexts are specified for this element in currently active versions.
142 absmiddle is not a valid value for the "valign" attribute in HTML32. Valid values for this attribute are: Dynamic expression, baseline, bottom, middle, top.
142 absmiddle is not a valid value for the "valign" attribute in HTML4. Valid values for this attribute are: Dynamic expression, baseline, bottom, middle, top.
142 absmiddle is not a valid value for the "valign" attribute in any of the currently active versions. See the above warnings for more details.
142 In HTML 4.0, FONT is deprecated. It may become obsolete in future versions, consider using style sheets instead.
142 The value ADMIN/DEFAULT.ASP is not valid for the "href" attribute in HTML20. The value is valid if double quoted.
142 ADMIN/DEFAULT.ASP is not a valid value for the "href" attribute in any of the currently active versions. See the above warnings for more details.
142 The value _BLANK is not valid for the "target" attribute in HTML4. The value is valid if double quoted.
142 _BLANK is not a valid value for the "target" attribute in any of the currently active versions. See the above warnings for more details.
142 The value IMGS/PIJL.GIF is not valid for the "src" attribute in HTML20. The value is valid if double quoted.
142 IMGS/PIJL.GIF is not a valid value for the "src" attribute in any of the currently active versions. See the above warnings for more details.
142 The tag: "img" doesn't have an attribute: "valign" in currently active versions.
144 Nesting error, "b" should be closed before closing "table"
144 Nesting error, "font" should be closed before closing "table"
144 Nesting error, "b" should be closed before closing "table"
144 Nesting error, "font" should be closed before closing "table"
144 Nesting error, "b" should be closed before closing "table"
144 Nesting error, "font" should be closed before closing "table"
144 Nesting error, "b" should be closed before closing "table"
144 Nesting error, "font" should be closed before closing "table"

www.jurgroessen.nl


Verwijderd

Topicstarter
Thnxs FoOL!!

Welke invloed heeft doctype op de weergave van HTML?

Ik ga het e.e.a. ff valideren B)

Fjobje

Verwijderd

Topicstarter
Ah.. wat een service :)

Wat een zootje zeg.. normaal ben ik heel netjes hoor O-)

Verwijderd

Topicstarter
Maarreh.. het blijft vreemd dat ie na Refresh wel goed gaat?!

  • Justice
  • Registratie: Maart 2001
  • Laatst online: 07-08-2025
probeer ook even de spaties tussen het afsluiten van de tags weg te halen. Dit kan namelijk ook lege ruimte creeren zoals [normal]</p> </td>[/normal] bijvoorbeeld.
Daarnaast zou ik wat meer css gebruiken, het lijkt me ook een probleem van onoverzichtelijkheid namelijk en daar kan css soms bij helpen.

je kan natuurlijk ook als vieze oplossing de pagina 1x laten refreshen, of je tabel layout fixed maken en dan de breedtes specificeren zodat IE niet gaat proberen de tabel halverwege op te maken (ik weet niet zeker of het daaraan ligt, wellicht dat het door het in stappen opbouwen van de pagina komt namelijk)

[ Voor 36% gewijzigd door Justice op 21-02-2003 17:32 ]

Human Bobby


  • Thijsmans
  • Registratie: Juli 2001
  • Laatst online: 14:29

Thijsmans

⭐⭐⭐⭐⭐ (5/5)

Verwijderd schreef op 21 February 2003 @ 17:25:
Thnxs FoOL!!

Welke invloed heeft doctype op de weergave van HTML?

Ik ga het e.e.a. ff valideren B)

Fjobje
Veel :) Als jij een htmlpagina maakt met een XML-doctype, reken maar dat je een hele dikke vette mooie sappige kleurige foutmelding krijgt B) Volgens mij maakt het bij html niet zoveel uit of je nou html 3 gebruikt terwijl je 4 doctyped.

Privacy-adepten vinden op AVGtekst.nl de Nederlandse AVG-tekst voorzien van uitspraken en besluiten.


Verwijderd

Fjobje, die edit knop is er niet voor niets ;)

Omtrent de doctypes: kijk hier eens: http://gutfeldt.ch/matthias/articles/doctypeswitch.html
die link komt overigens uit deze thread: <?xml version .. I.C.M. CSS

Verwijderd

Topicstarter
Met het schaamrood op mien kaken, ga ik jullie info is rustig herkauwen!!

Thanks gents!!
Pagina: 1