Seite 1 von 1

Code

Verfasst: Fr 22. Okt 2004, 08:30
von epsi
Hallo Ihr!

Kann mal jemand den nachfolgenden Code überfliegen. Der HTML-Validator motzt ziemlich viel und ich hab keine Ahnung warum!

Code: Alles auswählen

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>FBB-SpielCMS</title>
<link href="css/format.css" rel="stylesheet" media="screen" scrollbars="No"> 
</head>
<body bgcolor="#999999" background="Pics/back2.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('Pics/kontakt2.gif','Pics/Bike1.jpg')">
<table width="430" border="0" cellspacing="0" cellpadding="0" height="330" vspace="0" hspace="0" align="left">
  <tr align="left" valign="top"> 
    <td width="430" height="35">
      <table width="917" border="0" cellspacing="0" cellpadding="0" height="35" vspace="0" hspace="0" align="left">
        <tr align="left" valign="top"> 
          <td height="35" width="10" background="popup-bilder/border_oben.jpg">   </td>
          <td height="35" width="907" align="left" valign="middle" background="popup-bilder/border_oben.jpg">CMS_CONTAINER[1]</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr align="left" valign="top"> 
    <td width="430" height="153"> 
      <table width="905" border="0" cellspacing="0" cellpadding="0" height="180" vspace="0" hspace="0" align="left">
        <tr align="left" valign="top"> 
          <td height="180" width="11" background="popup-bilder/border_mitte.jpg"> </td>
          <td height="180" colspan="9" background="popup-bilder/border_mitte.jpg" width="412">CMS_CONTAINER[2] 
          </td>
          <td height="180" width="476" background="popup-bilder/border_mitte.jpg"> </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr align="left" valign="top">
    <td width="430" height="115">
      <table width="907" border="0" cellspacing="0" cellpadding="0" vspace="0" hspace="0" align="left" height="115">
        <tr align="left" valign="top"> 
          <td height="10" width="10"> </td>
          <td height="10" width="893"> </td>
        </tr>
        <tr align="left" valign="top"> 
          <td width="10" height="105"> </td>
          <td width="893" height="105"> 
            <p>CMS_CONTAINER[3]</p>
            </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
Danke schonmal

Verfasst: Fr 22. Okt 2004, 09:14
von SkyBlader
1. wär schön was er genau anmotzt

2. ersetz mal leere Tabellen zellen , z.B.

Code: Alles auswählen

<td height="180" width="476" background="popup-bilder/border_mitte.jpg"> </td> 
durch

Code: Alles auswählen

<td height="180" width="476" background="popup-bilder/border_mitte.jpg">&nbsp;</td>
ansonsten ist mir auf die schnelle ncihts aufgefallen,

gruß

Stefan

Verfasst: Fr 22. Okt 2004, 09:34
von epsi
Es ist immer die gleiche Fehlermeldung:

Error: there is no attribute "hier zb. Scrollbar, LEFTMARGIN".

Kann es sein dass der Validator einfach "zu alt" ist?

Gruß
epsi

PS: Kannst Du mir einen Grund nennen warum er das Stylesheet nicht nimmt? :roll: :wink:

Verfasst: Fr 22. Okt 2004, 09:56
von kummer
nun ja, es gibt halt attribute, welche zwar von vielen browsern interpretiert werden, die jedoch nicht teil des standards sind. das wird wohl daran liegen. aber das ist im übrigen nicht weiter schlimm.

Verfasst: Fr 22. Okt 2004, 10:39
von epsi
Nun noch eine Frage. Ich habe eine Seite auf der alles außer 3 Textmodule statisch ist. Von dieser Seite werden die Popups geöffnet.

Aufbau ist wie folgt:

Statische Seite
-popup1
-popup2
-usw.

Wenn ich in die Textmodule der statischen Seite schreibe wird der Text durch das Stylesheet geändert (Schriftfarbe usw.). Wenn ich ein Popup öffne nimmt er allerdings ganz andere Wert, also nicht das Stylesheet.

Oben seht ihr ja den Code vom Popup.

Hat jemand eine Idee?

Gruß