TaraMaus
New member
ich arbeite grad eine Seite nach den W3C Standart um und hab folgendes Problem:
Fehler: Im Element table ist das Attribut `HEIGHT` nicht erlaubt.
Fehlerstelle: ...tyle='border-style: none;' cellspacing='0' cellpadding='0' height='100%'>
Das liegt daran dass das style attribut nicht in (") eingefasst ist. Entweder funktioniert der Quellcode oder besteht den W3C Check.
Ich hoffe es kann mir jemand weiterhelfen
Fehler: Im Element table ist das Attribut `HEIGHT` nicht erlaubt.
Fehlerstelle: ...tyle='border-style: none;' cellspacing='0' cellpadding='0' height='100%'>
Das liegt daran dass das style attribut nicht in (") eingefasst ist. Entweder funktioniert der Quellcode oder besteht den W3C Check.
PHP:
## generiert einen dynamischen schatten um das image herum
function shadowtable($imagesrc)
{
$output="";
$output .= "<table style='border-style: none;' cellspacing='0' cellpadding='0' height='100%'>
<tr><td class='td_gallery' rowspan='2' colspan='2' style='border-style: none;'>
$imagesrc</td><td valign='top' style='border-style: none;' background='gallery/shadow/r.gif'>
<img border='0' src='gallery/shadow/or.gif' width='8' height='10'></td></tr><tr>
<td style='border-style: none;' background='gallery/shadow/r.gif'> </td></tr>
<tr><td style='border-style: none;' background='gallery/shadow/u.gif' align='left'>
<img border='0' src='gallery/shadow/ul.gif' width='10' height='10'></td>
<td style='border-style: none;' background='gallery/shadow/u.gif'></td>
<td style='border-style: none;' valign='top'><img border='0' src='gallery/shadow/ur.gif' width='8' height=
</tr></table>";
return $output;
}
Ich hoffe es kann mir jemand weiterhelfen