IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

HTML Discussion :

texte mal placé


Sujet :

HTML

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    186
    Détails du profil
    Informations personnelles :
    Âge : 36
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 186
    Points : 98
    Points
    98
    Par défaut texte mal placé
    bonjour,
    j'avai un site avant mais je le faisais avec thunder site,
    je me sui mit au css et maintenant je galère!
    je voudrai mettre mon texte en haut de page et non pas au centre,
    pouvez vous m'aider, je me doute que le problème est situé ds ces quelques lignes mai par quoi doije remplacer "center" ???
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    <td colspan=2 background="img/m12.jpg">
     
                            <table align="high" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="563"><P align="justify" style="margin-right:8; margin-left:8;"><font face="Verdana"><span style="font-size:8pt;">Bienvenue a tous!      
     
    Bonjour à tous et bienvenue...
     
    </span></font></P></td>
                                </tr>
     
                            </table>
    merci d'avance.

  2. #2
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 640
    Points : 66 665
    Points
    66 665
    Billets dans le blog
    1
    Par défaut
    des balises code aideraient à l lisibilité de ton post ...

    et je ne vois de center nulle part dans ce bout de code ...
    center => centre
    peut être que top veut dire haut ?

  3. #3
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    186
    Détails du profil
    Informations personnelles :
    Âge : 36
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 186
    Points : 98
    Points
    98
    Par défaut
    c ke je m'était trompé j'avai remplacé center par high.
    je vien d'essayer avec top et tjs rien

    revoici le code
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    <tr>
      <td colspan=2 background="img/m12.jpg">
     
                            <table align="top" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="563"><P align="justify" style="margin-right:8; margin-left:8;"><font face="Verdana"><span style="font-size:8pt;">Bienvenue a tous!      
     
    Bonjour à tous et bienvenue...
     
    </span></font></P></td>
                                </tr>
     
                            </table>
     
    </td>
    et voici ce ke ca donne
    http://brisso53.free.fr/

  4. #4
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 640
    Points : 66 665
    Points
    66 665
    Billets dans le blog
    1
    Par défaut
    toujours pas de balises code ?

  5. #5
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    186
    Détails du profil
    Informations personnelles :
    Âge : 36
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 186
    Points : 98
    Points
    98
    Par défaut
    je c pas se ja c les balises code?
    à moins que je ne mette toute la page,
    j'ai localisé le prbl avec des ********
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    <html>
    <head>
    <title>|site de brisso et du club trévenaste|</title>
    <SCRIPT LANGUAGE="JavaScript">
    Today = new Date;
    Heure = Today.getHours();
    Min = Today.getMinutes();
    Message = "" + Heure + "H" + Min + "min";
    </SCRIPT>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="generator" content="Namo WebEditor v5.0">
    </head>
    <body bgcolor=#FFFFFF leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 link="#1C5483" vlink="#1C5483" alink="#1C5483">
    <p align="center"><!-- ImageReady Slices (esa.psd) --><table width=780 border=0 cellpadding=0 cellspacing=0 align="center">
     <tr>
      <td colspan=4>
       <img src="img/m01.jpg" width=780 height=10></td>
     </tr>
     <tr>
      <td rowspan=2>
       <img src="img/m02.jpg" width=369 height=168></td>
      <td rowspan=2>
       <img src="img/m03.jpg" width=180 height=168></td>
      <td colspan=2>
       <img src="img/m04.jpg" width=231 height=108></td>
     </tr>
     <tr>
      <td rowspan=2 height="91" background="img/m05.jpg">
                                                            <p align="center"><font color="black" face="Verdana"><span style="font-size:8pt;">Bonjour à tous<br>Il 
                est actuellement<br><SCRIPT LANGUAGE="JavaScript">
    document.write(Message);
    </SCRIPT></span></font></td>
      <td>
       <img src="img/m06.jpg" width=22 height=60></td>
     </tr>
     <tr>
      <td colspan=2 background="img/m07.jpg">
                <table align="center" cellpadding="0" cellspacing="0" width="547">
                    <tr>
                        <td width="100" height="15"><a href="http://brisso53.free.fr/">
                            <p align="center"><span style="font-size:8pt;"><font face="Verdana"><img src="img/btn_fleche.gif" width="8" height="7" border="0"> 
                            Acc</font><font face="Verdana" color="#1C5483">ueil</font></span></p>
                        </td>
                        <td width="100" height="15"><a href="http://brisso53.free.fr/t%e9l%e9chargements_videos_montages_photos_sur_le_site_de_brisso.html">
                            <p align="center"><span style="font-size:8pt;"><font face="Verdana"><img src="img/btn_fleche.gif" width="8" height="7" border="0"> 
                            Téléchar</font><font face="Verdana" color="#1C5483">gements</font></span></p>
                        </td>
                        <td width="100" height="15"><a href="http://brisso53.free.fr/contacte_forum_chat_amical_du%20site%20_de%20brisso.html">
                            <p align="center"><span style="font-size:8pt;"><font face="Verdana"><img src="img/btn_fleche.gif" width="8" height="7" border="0">&nbsp;Commun</font><font face="Verdana" color="#1C5483">ication</font></span></p>
                        </td>
                        <td width="100" height="15"><a href="http://brisso53.free.fr/les_articles_du_site_de_brisso.html">
                            <p align="center"><span style="font-size:8pt;"><font face="Verdana"><img src="img/btn_fleche.gif" width="8" height="7" border="0">&nbsp;Art</font><font face="Verdana" color="#1C5483">icles</font></span></p>
                        </td>
                        <td width="100" height="15"><a href="http://brisso53.free.fr/l'espace_club_tr%e9venaste_du_site_de_brisso.html">
                            <p align="center"><span style="font-size:8pt;"><font face="Verdana"><img src="img/btn_fleche.gif" width="8" height="7" border="0"> 
                            Espace</font><font face="Verdana" color="#1C5483"> club</font></span></p>
                        </td>
                    </tr>
                </table>
    </td>
      <td>
       <img src="img/m08.jpg" width=22 height=31></td>
     </tr>
     <tr>
      <td colspan=2>
       <img src="img/m09.jpg" width=549 height=11></td>
      <td>
       <img src="img/m10.jpg" width=209 height=11></td>
      <td>
       <img src="img/m11.jpg" width=22 height=11></td>
     </tr>
    ***********************************************************
     <tr>
      <td colspan=2 background="img/m12.jpg">
     
                            <table align="top" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="563"><P align="justify" style="margin-right:8; margin-left:8;"><font face="Verdana"><span style="font-size:8pt;">Bienvenue a tous!      
     
    Bonjour à tous et bienvenue...
     
    </span></font></P></td>
                                </tr>
     
                            </table>
    *************************************************************
    </td>
     <td background="img/m13.jpg">
                            <table align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="154">
                                        <hr></td>
                                </tr> 
                                    <tr>
                                    <td width="154">
                                        <p><FONT face=Verdana color=black><SPAN style="font-size:8pt;">&nbsp;&nbsp;&nbsp;&nbsp;Navigation</SPAN></FONT></p>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="154">
                                        <hr></td>
                                </tr>
                                <tr>
                                    <td width="154">
                                        <ul type="circle">
                                            <li><a href="http://brisso53.free.fr/"><span style="font-size:8pt;"><font face="Verdana" color="#1C5483">Accueil</font></span></a></li>
                                            <li><a href="http://brisso53.free.fr/t%e9l%e9chargements_videos_montages_photos_sur_le_site_de_brisso.html"><span style="font-size:8pt;"><font face="Verdana" color="#1C5483">Téléchargements</font></span></a></li>
                                            <li><a href="http://brisso53.free.fr/contacte_forum_chat_amical_du%20site%20_de%20brisso.html"><span style="font-size:8pt;"><font face="Verdana" color="#1C5483">Communication</font></span></a></li>
                                            <li><a href="http://brisso53.free.fr/les_articles_du_site_de_brisso.html"><span style="font-size:8pt;"><font face="Verdana" color="#1C5483">Les articles</font></span></a></li>
                                            <li><a href="http://brisso53.free.fr/l'espace_club_tr%e9venaste_du_site_de_brisso.html"><span style="font-size:8pt;"><font face="Verdana" color="#1C5483">le club Trévenaste</font></span></a></li><br>
                                        </ul>
                                    </td>
                                </tr>
    <br>                        <tr>
                                    <td width="154">
                                        <hr></td>
                                </tr> 
                                <tr>
                                    <td width="154">
                                        <p><FONT face=Verdana color=black><SPAN style="font-size:8pt;">&nbsp;&nbsp;&nbsp;&nbsp;Editorial</SPAN></FONT></p>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="154">
                                        <hr></td>
                                </tr>
                                <tr>
                                    <td width="154"><P align="justify"><FONT face=Verdana color=black><SPAN style="font-size:8pt;">
     
     
     
    Bienvenue sur mon nouveau site, je ne peut m'empêcher de sans cesse le modifier donc en voici une nouvelle version qui je l'éspère sera définitive. J'éspère également que le site vous plaira et que vous y trouverez plein de choses intéressantes. Je vous invite à participer à la vie active du site en Tchatant ou en laissant des messages sur le livre d'or ou le forum.
     
     Bonne visite à tous...
     
     
    <br><br></SPAN></FONT></P>
                                    </td>
                                </tr>                           
    <br>                        <tr>
                                    <td width="154">
                                        <hr></td>
                                </tr> 
                                <tr>
                                    <td width="154">
                                        <p><FONT face=Verdana color=black><SPAN style="font-size:8pt;">&nbsp;&nbsp;&nbsp;&nbsp;Partenaires</SPAN></FONT></p>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="154">
                                        <hr></td>
                                </tr>
                                <tr>
                                    <td width="154" height="17">
                                        <ul type="circle">
                                            <li><a href="http://www.pierreboixel.com/"><span style="font-size:8pt;"><font face="Verdana" color="#1C5483">le site de Pierre Boixel</font></span></a></li>
                                        </ul>
                                    </td>
                                </tr>
                            </table>
    </td>
      <td background="img/m14.jpg">
       &nbsp;</td>
     </tr>
     <tr>
      <td colspan=2 background="img/m15.jpg">
       &nbsp;</td>
      <td>
       <img src="img/m16.jpg" width=209 height=47></td>
      <td>
       <img src="img/m17.jpg" width=22 height=47></td>
     </tr>
     <tr>
      <td colspan=2>
       <img src="img/m18.jpg" width=549 height=29></td>
      <td>
       <img src="img/m19.jpg" BORDER=0 width=209 height=29 usemap="#ImageMap1"></td>
      <td>
       <img src="img/m20.jpg" width=22 height=29></td>
     </tr>
    </table>
    <!-- End ImageReady Slices --><map name="ImageMap1">
    <script type="text/javascript" src="http://www.123compteur.com/count-skinable-premium.php?votre_id=71608&font_color=000000&back_color=ccffff&back_color2=ffffff&font_family=Comic Sans MS&nom_site=site de brisso"></script>
    </map></body>
    </html>

  6. #6
    Membre actif Avatar de hunter
    Profil pro
    Inscrit en
    Mars 2004
    Messages
    208
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Mars 2004
    Messages : 208
    Points : 216
    Points
    216
    Par défaut
    Citation Envoyé par SpaceFrog
    toujours pas de balises code ?
    bas nan troisième essai

    y a un bonton code dans le formulaire que tu remplis

    et ça donne :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    <tr>
    <td colspan=2 background="img/m12.jpg">
     
    <table align="top" cellpadding="0" cellspacing="0">
    <tr>
    <td width="563"><P align="justify" style="margin-right:8; margin-left:8;"><font face="Verdana"><span style="font-size:8pt;">Bienvenue a tous!
     
    Bonjour à tous et bienvenue...
     
    </span></font></P></td>
    </tr>
     
    </table>
     
    </td>
    pour que le code soit clair

  7. #7
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    186
    Détails du profil
    Informations personnelles :
    Âge : 36
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 186
    Points : 98
    Points
    98
    Par défaut
    Mais heu vous moquez pas de moi, j'essay d'apprendre!
    ba k tu changé???
    je ne voi pas ...

  8. #8
    Rédacteur/Modérateur

    Avatar de SpaceFrog
    Homme Profil pro
    Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Inscrit en
    Mars 2002
    Messages
    39 640
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 74
    Localisation : Royaume-Uni

    Informations professionnelles :
    Activité : Développeur Web Php Mysql Html Javascript CSS Apache - Intégrateur - Bidouilleur SharePoint
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2002
    Messages : 39 640
    Points : 66 665
    Points
    66 665
    Billets dans le blog
    1
    Par défaut
    alors un petit cours sur les balises code :


    [ code ] ici tu mets ton code [ / code]


    sans les espaces ça donne :


    il suffit de selectionner ton code avec la souris puis de cliquer sur le bouton code juste au dessus de la zonz de saisie ...

    bienvenue !

  9. #9
    Expert éminent
    Avatar de raptor70
    Inscrit en
    Septembre 2005
    Messages
    3 173
    Détails du profil
    Informations personnelles :
    Âge : 39

    Informations forums :
    Inscription : Septembre 2005
    Messages : 3 173
    Points : 6 812
    Points
    6 812
    Par défaut
    Je crois qu'il a pas compris que c'était dans le FORUM lors de l'écriture du message....

    Pour ton problème, pour utiliser le CSS, je te déconseille de mettre autant de mise en forme pour un seul texte. Une seule balise suffit...
    Vu que tu est dans un tableau :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    <td style="width:563;text-align:justify;margin-right:8; margin-left:8;font:Verdana 8pt;margin-top:0px;">
    Bienvenue a tous! Bonjour à tous et bienvenue...
    </td>
    J'ai rajouté margin-top:0px; pour le mettre en haut...

  10. #10
    Membre régulier
    Profil pro
    Inscrit en
    Novembre 2005
    Messages
    186
    Détails du profil
    Informations personnelles :
    Âge : 36
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 186
    Points : 98
    Points
    98
    Par défaut
    et bien je suis désolé mais ca ne marche tjs pas...
    de koi cela peu il venir?
    peu être d'une partie antérieure du css??
    merci

Discussions similaires

  1. Texte bien placé dans JTextField
    Par tck-lt dans le forum Composants
    Réponses: 6
    Dernier message: 20/03/2006, 10h40

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo