Ankündigung

Einklappen
Keine Ankündigung bisher.

there is no attribute "BACKGROUND" ?? Fehler beim

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • there is no attribute "BACKGROUND" ?? Fehler beim

    Error Line 116 column 27: there is no attribute "BACKGROUND".

    <td width="9" background="Bilder/seite_03_bg.gif"></td>

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
    Ich bekomme den Fehler beim validieren meiner Seite...
    Hat jemand einen Rat für mich?

    Danke!

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.

  • #2
    and/or use CSS instead of this attribute.
    Tu es halt!

    Kommentar


    • #3
      wie kann ich in css sagen, dass ich eine spezielle spalte mit einem hintergrundbild füllen möchte=?

      Kommentar


      • #4
        Och komm, lern CSS Grundlagen

        // html
        Code:
        <td id="bestimmteSpalte">....</td>
        // css
        Code:
        td#bestimmteSpalte {
          background-image: url(pfad/zum/hintergrund.jpg);
        }
        http://de.selfhtml.org/css/eigenscha...intergrund.htm


        (einer Spalte kannst du direkt keinen Hintergrund zuweisen, denn es gibt kein Gegenstück zu <tr>, das eine Spalte deklariert. Eine Spalte ist ja nur eine Ansammlung von Zellen <td> und genau so musst du eben eine Spalte dann auch handhaben, manuell, Zelle für Zelle)

        Kommentar


        • #5
          schick schicki!

          ich danke euch!

          schönen sonntag noch!

          Kommentar

          Lädt...
          X