Thomas Luethi: Tabelle ist (oben) nicht Bündig!?

Beitrag lesen

Hallo,

ich bin (fast) am verzweifeln. Ich habe folgenden HTML-Code:

Wer hat den verbrochen, sorry, erzeugt?

<body background="Images/bg_monot.gif" onload="CSScriptInit();">

Hintergrundbild besser mit CSS einbinden.

<table cool width="616" height="0" border="0" cellpadding="0" cellspacing="0" gridx="0" showgridx usegridx gridy="0" showgridy usegridy>

Zahlreiche nicht erlaubte Attribute.
Frag mal den Validator um seine Meinung:
http://validator.w3.org/
und mach alle Fehler weg.

Ihr seht, ich beginne nach dem Body-Tag direkt mit einem table.

Der Body (und bei Opera offenbar auch das HTML-Element) haben
bei den Browsern standardmaessig margin oder padding.
Das kannst Du mit CSS wegmachen:

html, body { margin:0; border:0 none; padding:0; }

Und den margin oben an der Tabelle ebenfalls:

table { margin-top:0; }

Gruesse,

Thomas