Partage
  • Partager sur Facebook
  • Partager sur Twitter

validation code css

avant que je modifie je ne sais plus quoi ma page etait valide

Sujet résolu
    10 décembre 2005 à 0:31:56

    Donc vous allez morfler voila mon code

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html lang="fr-FR" xml:lang="fr-FR" xmlns="http://www.w3.org/1999/xhtml">
        <head>
        <title>LaGalerie</title>
           
        <style type="text/css">
        body {
            background: url(xav1024.jpg);
            }
       
        div {
            width: 721px;
            margin-top: 15%;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
            }
       
        img {
            border:0;
            }
       
        dl.gallery {
            border: 0px;
            background: url(xav1024.jpg);
            width: 102px;
            text-align: center;
            padding: 10px;
            float: left;
            margin-right: 1em;
            margin-top: 1px;
            }
       
        .gallery dt {
            font-family:"LittleLordFontleroy",times news roman;
            font-size: 1.7em;
            font-style: italic;
            }
       
        .gallery dt img {
            border: 0px;
            text-align: center;
            width: 75px;
            height: 100px;
            }
       
        .gallery dd {
            font-size: 0.7em;
            margin: 0;
            padding: 0;
            }
    </style>

    </head>

    <body>

    <div>
     <dl class="gallery">
    <dt><a href="blueberryv.jpg" onclick="window.open(this.href, '_blank','width=450, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;">
    <img src="blueberry2.jpg" alt="Blueberry" /></a></dt>
    <dt>Blueberry</dt>
    <dd>C&#39;est&#32;bien&#32;lui&#33;</dd>
    </dl>

    <dl class="gallery">
    <dt><a href="sarahv.jpg" onclick="window.open(this.href, '_blank','width=450, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;">
    <img src="sarah2.jpg" alt="Sarah&#32;h&#233;roine&#32;kaarib" /></a></dt>
    <dt>Sarah</dt>
    <dd>Kaarib&#44;&#32;tomeI</dd>
    </dl>

    <dl class="gallery">
    <dt><a href="regulateurv.jpg" onclick="window.open(this.href, '_blank','width=450, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;"><img src="regulateurv.jpg" alt="Ambrosia&#32;r&#233;gulateur&#32;tome1" /></a></dt>
    <dt>Ambrosia</dt>
    <dd>Le r&#233;gulateur&#44;&#32;tomeI</dd>
    </dl>

    <dl class="gallery">
    <dt><a href="gdchd1v.jpg" onclick="window.open(this.href, '_blank','width=450, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;">
    <img src="gdchd1.jpg" alt="Ja&#239;na&#32;avec&#32;épée&#32;dans&#32;la&#32;main&#32;de&#32;profil&#32;avec&#32;visage&#32;tourn&#233;e&#32;vers&#32;vous"
    title="elle&#32;tient&#32;dans&#32;la&#32;bd&#32;les&#32;reines&#32;de&#32;son&#32;cheval" />
    </a></dt>
    <dt>Ja&#239;na</dt>
    <dd>La&#32;Geste&#32;des&#32;Chevaliers&#32;Dragon&#44;&#32;tomeI</dd>
    </dl>

    <dl class="gallery">
    <dt><a href="gdchd3v.jpg" onclick="window.open(this.href, '_blank','width=450, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;">
    <img src="gdchd2.jpg" alt="visage&#32;Ellys&#32;sur&#32;toute&#32;la&#32;feuille" /></a></dt>
    <dt>Ellys</dt>
    <dd>La&#32;Geste&#32;des&#32;Chevaliers&#32;Dragon&#44;&#32;tomeI</dd>
    </dl>

    <dl class="gallery">
    <dt><a href="gdchd2v.jpg" onclick="window.open(this.href, '_blank','width=450, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;">
    <img src="gdchd3.jpg" alt="Ja&#239;na&#32;visage&#32;sur&#32;tout&#32;la&#32;feuille&#32;mouill&#233;" /></a></dt>
    <dt>Ja&#239;na</dt>
    <dd>La&#32;Geste&#32;des&#32;Chevaliers&#32;Dragon&#44;&#32;tomeI</dd>
    </dl>

    <dl class="gallery">
    <dt><a href="navisIIv.jpg" onclick="window.open(this.href, '_blank','width=450, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;">
    <img src="navis2.jpg" alt="Nav&#239;s&#32;couverture&#32;tome6" /></a></dt>
    <dt>Nav&#239;s</dt>
    <dd>Couverture&#44;&#32;tome6</dd>
    </dl>

    <dl class="gallery">
    <dt><a href="navicev.jpg" onclick="window.open(this.href, '_blank','width=450, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;">
    <img src="navice2.jpg" alt="Visage&#32;Navïs&#32;avec&#32;bandana&#32;fait&#32;par&#32;moi" title="le&#32;bandana&#32;n&#39;existe&#32;pas&#32;sur&#32;l&#39;image&#32;d&#39;origine" /></a></dt>
    <dt>Nav&#239;s</dt>
    <dd></dd>
    </dl>

    <dl class="gallery">
    <dt><a href="demoiv.jpg" onclick="window.open(this.href, '_blank','width=810, height=610, top=200, left=200, resizable=yes,scrollbars=auto'); return false;">
    <img src="demoiv2.jpg" alt="une&#32;personne&#32;nue&#32;de&#32;dos&#32;marche&#32;son&#32;ombre&#32;orientée&#32;&#234;&#32;2&#32;heure&#32;au&#32;milieu&#32;de&#32;la&#32;feuille" title="ma&#32;seule&#32;cr&#233;ation" /></a></dt>
    <dt>Demoi</dt>
    <dd>Trouver&#32;un&#32;titre&#33;</dd>
    </dl>

    <div><a href="index.htm"><img src="lune.jpg" style="position: absolute; margin-left: -170px; margin-top: 220px;" alt="lune&#32;page&#32;accueil" title="vers&#32;la&#32;page&#32;d&#39;accueil" /></a>
         <a href="page fermeture.htm"><img src="grg42.jpg" style="position: absolute; margin-top: 240px; margin-left: -137px;"  alt="point&#32;interrogation&#32;page&#32;fermeture" title="vers&#32;page&#32;de&#32;fermeture" /></a>
         <img src="plan2.jpg" style="position: absolute; margin-left: -110px; margin-top: 260px;" alt="plan du site page accueil" title="plan et page du site" />
    </div>

    <address style="color: #981c4e">remyremont@remyxpage.com</address>
    </div>
    </body>
    </html>





    ET voila mon rapport du css validator W3C:


    #

    <!DOCTYPE

    Error: Selectors must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    <!DOCTYPE

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    "-//W3C//DTD

    Error: Selectors must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    "-//W3C//DTD

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    1.0

    Error: Selectors must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    1.0

    Error: Classes must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    Transitional//EN"

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Error: Only one class is allowed per simple selector.
    #

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Error: Unrecognized pseudo-element or pseudo-class //www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">.
    #

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Error: Selectors must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    <html

    Error: Selectors must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    <html

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    lang="fr-FR"

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    xml:lang="fr-FR"

    Error: Unrecognized pseudo-element or pseudo-class lang="fr-FR".
    #

    xmlns="http://www.w3.org/1999/xhtml">

    Error: Only one class is allowed per simple selector.
    #

    xmlns="http://www.w3.org/1999/xhtml">

    Error: Unrecognized pseudo-element or pseudo-class //www.w3.org/1999/xhtml">.
    #

    xmlns="http://www.w3.org/1999/xhtml">

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    <head>

    Error: Selectors must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    <head>

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    <title>LaGalerie</title>

    Error: Selectors must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    <title>LaGalerie</title>

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    <style

    Error: Selectors must begin with a character in the range A-Z, a-z, Unicode characters 161-255, or an escaped Unicode character as a numeric code.
    #

    <style

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    #

    type="text/css">

    Error: Selectors may contain only the characters A-Z, a-z, 0-9, Unicode 161-255, hyphens, or escaped Unicode characters as numeric codes.
    • Partager sur Facebook
    • Partager sur Twitter
      10 décembre 2005 à 6:29:54

      tu envoies une page html pour etre validée en css
      • Partager sur Facebook
      • Partager sur Twitter
        10 décembre 2005 à 7:33:19

        j'essaye de vamider mon code css.
        IL l'est deja dans le valideur html?

        • Partager sur Facebook
        • Partager sur Twitter
          10 décembre 2005 à 7:45:55

          Le validateur css valide les fichiers (.css)
          le validateur html valide les fichiers (.html)
          • Partager sur Facebook
          • Partager sur Twitter
            10 décembre 2005 à 8:28:03

            donc tu dois mettre ton css dans une page à part ;)
            • Partager sur Facebook
            • Partager sur Twitter

            validation code css

            × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
            × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
            • Editeur
            • Markdown