probleme de code

2 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu probleme de code

Message par carousse Lun 31 Déc 2012 - 18:42

Bonjour à tous

Je souhaiterai plustot centré mon texte entre l'image et la bordure ainsi que supprimer l'effet du texte.

probleme de code 11210

Forum en question : http://storybrooke.rpggameplay.com/

Merci d'avance et bonne fin ou début d'année ^^


Dernière édition par carousse le Dim 6 Jan 2013 - 20:43, édité 1 fois
carousse

carousse
*****

Messages : 844
Inscrit(e) le : 02/08/2008

http://rpg-vampire-knight.vampire-legend.com/
carousse a été remercié(e) par l'auteur de ce sujet.

Résolu Re: probleme de code

Message par Matriochka Mar 1 Jan 2013 - 10:45

Bonjour,

Pour retirer l’effet sur les liens, il faut retirer ceci de ta feuille de styles CSS :
Code:
a {text-shadow: 0px 0px 5px white;}
(ou un code similaire que tu devrais avoir)

Concernant le centrage, serait-il possible d’avoir ton template index_body ?
avatar

Matriochka
Membre actif

Messages : 7604
Inscrit(e) le : 14/07/2010

Matriochka a été remercié(e) par l'auteur de ce sujet.

Résolu Re: probleme de code

Message par carousse Mar 1 Jan 2013 - 16:58

Hello,

Merci de ton aide alors pour le shadow y en a pas dans le QEEL j'ai peur de faire une conneri peut tu me dire lequelle je dois enlever

CSS

Code:
/* ********** QUI EST EN LIGNE *********** */

    .statistiques{
    border:0px;
    background-repeat: no-repeat;
    background-position: left;
    height:270px;}

    .groupes{
    background-color:#;border: 0px #D0D0D0 dotted;
    -moz-border-radius : 5px 5px 5px 5px;
    height:40px;padding-right:12px;padding-left:14px;padding-bottom:3px;
    font-size:15px;font-weight: bold;text-align:center;
    text-decoration: none !important;}


.forumline {-moz-border-radius: 1px;
-webkit-border-radius: 1px;
border-radius: 1px;
padding: 1px;
}



a {
font-variant: small-caps;
text-decoration: none!important;
}

a:hover {
text-decoration: none!important;
}

**************************************************************

/**Survolage**/

a.forumlink:link, a.forumlink:visited {
-moz-border-radius: 10px 10px 10px 10px;
background-color: #ffffff;
border-bottom: 1px solid #000000;
color: #000000;
font-family: Times New Roman;
font-size: 15px;
font-weight: lighter;
letter-spacing: 2px;
display:block;
text-align: left;
text-decoration: shadow !important;
text-shadow: black 1px 1px 2px;
}

a.forumlink:hover{
color: ##ffffff;
letter-spacing: 2px;}

  .titre01 {
  font-size: 24px;
  font-family: Times New Roman;
  text-align : center ;
  letter-spacing: -1px;
  padding-left: 0px;
  padding-right: 3px;
  padding-bottom: 0px;
  padding-top: 3px;
  display: block;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px white;
  font-weight:normal;
  color : white;
}

.titre02 {
  border-radius-topleft: 50px;
  border-radius-topright: 50px;
  background : #ffffff;
  border : 2px solid #fff;
  text-align: center;
  text-transform: uppercase;
  color : #ffffff;
  text-shadow: 1px 1px 1px white;
  box-shadow : 0px -1px 5px black;
  border-radius : 10px 10px 0px 0px;
}

.boxpa1 {
  width : 771px;
  height : 300px;
  line-height : 12px;
  color : white;
  text-shadow : 1px 1px 0px black;
  text-align : justify;
  font-variant : small-caps;
  font-family : Calibri;
  overflow : auto;
  border-left : 2px solid white;
  border-right : 2px solid white;
  border-top : 1px dotted white;
  border-bottom : 1px dotted white;
  background : ##ffffff;
  padding : 3px;
  margin-top : -3px;
}

.boxpa2 {
  width : 247px;
  height : 100px;
  line-height : 12px;
  color : white;
  text-shadow : 1px 1px 0px black;
  text-align : center;
  font-variant : small-caps;
  font-family : Calibri;
  overflow : auto;
  border-left : 2px solid white;
  border-right : 2px solid white;
  border-top : 1px dotted white;
  border-bottom : 1px dotted white;
  background : #ffffff;
  padding : 3px;
  margin-top : -3px;
}


#boitetatu{
position: fixed;
top: 300px;
left: 20px;
width: 200px;
+ les votres
}

.titreboiteta{
Propriétés CSS
}

.paragraphe{
Propriétés CSS
}

a, a:link {
text-shadow: 0px 0px 5px #ffffff;
}

a:hover {
text-shadow: 0px 0px 0px #ffffff;
}

/*Barre Navig By Nuity*/

a.mainmenu {
margin: 5px;
font-family: Verdana, Arial, Helvetica, sans-serif;
 
 
font-size: 13px;
}

/*------------------------------PA-------------------------------*/

.titre_pa
{
padding: 5px;
font-size: 15px;
color : #f4f0ec;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
background-color: #738678;
text-align: center;
display: bloc;
}

.corps_pa
{
padding: 10px;
color: #c0c0c0;
}

.fond_pa
{
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
}

/* INFOBULLES */

div.imginfo { 
  position: relative;
  text-decoration: none;
}

div.imginfo {
  position: relative;
  text-decoration: none;
}

div.imginfo span {
  display: none; /* on masque l'infobulle */
}

div.imginfo:hover {
  background: none; /* correction d'un bug IE */
  z-index: 999; /* on définit une valeur pour l'ordre d'affichage */
}

div.imginfo:hover span {
 display: inline; /* on affiche l'infobulle */
  position: absolute;
  white-space: nowrap; /* on change la valeur de la propriété white-space pour qu'il n'y ait pas de retour à la ligne non-désiré */
  top: 30px; /* on positionne notre infobulle */
  left: 20px;
background-color: #738678;
color: #ffffff;
  padding: 3px;
  border: 1px solid #fff;
}


Pour le reste voici mon Template




Code:
{JAVASCRIPT}
    <!-- BEGIN message_admin_index -->
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
      <!-- BEGIN message_admin_titre -->
      <tr>
          <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
      </tr>
      <!-- END message_admin_titre -->
      <!-- BEGIN message_admin_txt -->
      <tr>
          <td class="row1" rowspan="3" align="center" valign="middle">
          <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
          </td>
      </tr>
      <!-- END message_admin_txt -->
    </table>
    <!-- END message_admin_index -->

    <!-- BEGIN switch_user_login_form_header -->
    <form action="{S_LOGIN_ACTION}" method="post" name="form_login">
      <!-- BEGIN switch_fb_connect_no -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
          <tr>
            <td class="row1" align="center">
                <table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                      <td><span class="genmed">{L_USERNAME}:</span> </td>
                      <td><input class="post" type="text" size="10" name="username"/> </td>
                      <td>
                        <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                        <span class="gensmall">{L_AUTO_LOGIN}</span>
                      </td>
                  </tr>

                  <tr>
                      <td><span class="genmed">{L_PASSWORD}:</span> </td>
                      <td><input class="post" type="password" size="10" name="password"/> </td>
                      <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                  </tr>
                </table>
            </td>
          </tr>
      </table>
      <!-- END switch_fb_connect_no -->

      <!-- BEGIN switch_fb_connect -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
          <tr>
            <td valign="top" width="100%" class="row1" align="center">
                <table width="100%">
                  <tr>
                      <td width="55%" valign="middle" align="right">
                        <table class="right">
                            <tr>
                              <td><span class="genmed">{L_USERNAME}:</span> </td>
                              <td><input class="post" type="text" size="10" name="username"/> </td>
                              <td>
                                  <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                                  <span class="gensmall">{L_AUTO_LOGIN}</span>
                              </td>
                            </tr>

                            <tr>
                              <td><span class="genmed">{L_PASSWORD}:</span> </td>
                              <td><input class="post" type="password" size="10" name="password"/> </td>
                              <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                            </tr>
                        </table>
                      </td>
                      <td width="10%" align="center" valign="middle">
                        <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                      </td>
                      <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
                  </tr>
                </table>
            </td>
          </tr>
      </table>
      <!-- END switch_fb_connect -->
    </form>
    <!-- END switch_user_login_form_header -->

    {CHATBOX_TOP}
    {BOARD_INDEX}
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
          <td width="50%" valign="top">
            <!-- BEGIN switch_user_logged_in -->
            <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
            <!-- END switch_user_logged_in -->
            <!-- BEGIN switch_delete_cookies -->
            <br /><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a>
            <!-- END switch_delete_cookies -->
            </span>
          </td>
          <td width="50%" align="right">
            <span class="gensmall">
                <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br />
                <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br />
                <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
                <!-- BEGIN switch_on_index -->
                  <!-- BEGIN switch_delete_cookies -->
                  <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
                  <!-- END switch_delete_cookies -->
                <!-- END switch_on_index -->
            </span>
          </td>
      </tr>
    </table>

    <!-- BEGIN switch_user_login_form_footer -->
    <form action="{S_LOGIN_ACTION}" method="post" name="form_login">
      <!-- BEGIN switch_fb_connect_no -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
          <tr>
            <td class="row1" align="center">
                <table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                      <td><span class="genmed">{L_USERNAME}:</span> </td>
                      <td><input class="post" type="text" size="10" name="username"/> </td>
                      <td>
                        <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                        <span class="gensmall">{L_AUTO_LOGIN}</span>
                      </td>
                  </tr>

                  <tr>
                      <td><span class="genmed">{L_PASSWORD}:</span> </td>
                      <td><input class="post" type="password" size="10" name="password"/> </td>
                      <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                  </tr>
                </table>
            </td>
          </tr>
      </table>
      <!-- END switch_fb_connect_no -->

      <!-- BEGIN switch_fb_connect -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
          <tr>
            <td valign="top" width="100%" class="row1" align="center">
                <table width="100%">
                  <tr>
                      <td width="55%" valign="middle">
                        <table class="right">
                            <tr>
                              <td><span class="genmed">{L_USERNAME}:</span> </td>
                              <td><input class="post" type="text" size="10" name="username"/> </td>
                              <td>
                                  <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                                  <span class="gensmall">{L_AUTO_LOGIN}</span>
                              </td>
                            </tr>

                            <tr>
                              <td><span class="genmed">{L_PASSWORD}:</span> </td>
                              <td><input class="post" type="password" size="10" name="password"/> </td>
                              <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                            </tr>
                        </table>
                      </td>
                      <td width="10%" align="center" valign="middle">
                        <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                      </td>
                      <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
                  </tr>
                </table>
            </td>
          </tr>
      </table>
      <!-- END switch_fb_connect -->
    </form>
    <!-- END switch_user_login_form_footer -->

    <!-- BEGIN disable_viewonline -->
              <table border="0" width="100%" class="qeel_start" cellpadding="2">
     
              <tr>
                <td align="center"><img src="http://i10.servimg.com/u/f10/12/75/86/48/18711.jpg"><br><br><br></td><td>
                <br><span class="groupes"><a href="http://hominum-revelio.lebonforum.com/g10-membres-du-ministere"><font color=#CD76E3>HABITANTS DE STORYBROOKE </font></a></span><img src="http://img8.imageshack.us/img8/4075/r8ig6djpg.gif">
                <br><span class="groupes"><a href="http://hominum-revelio.lebonforum.com/g3-direction"><font color=#F07305>MONDE DES CONTES </font></a></span><img src="http://img8.imageshack.us/img8/4075/r8ig6djpg.gif">
                <br><span class="groupes"><a href="http://hominum-revelio.lebonforum.com/g7-serdaigle"><font color=#00AEFF>AUTRES MONDES </font></a></span><img src="http://img8.imageshack.us/img8/4075/r8ig6djpg.gif">
                <br><span class="groupes"><a href="http://hominum-revelio.lebonforum.com/g9-moldus"><font color=#17E69A>NOTRE MONDE </font></a></span><img src="http://img8.imageshack.us/img8/4075/r8ig6djpg.gif">
                      <br><br><br><br>
                    <div style="margin-left: 0%; margin-right: 0%;"></div>
              </td>
          </tr>
     
          <tr>
              <td width="50%">
                <div class="qeel_align"><span class="gensmall"><span id="messages">{TOTAL_POSTS}</span>
                    <script type="text/javascript">
               
                    </script>.
                    <br>
                                  <span id="users">{TOTAL_USERS}</span>.
        <br>
                                  <span id="newuser">{NEWEST_USER}</span>
                    . Nous lui souhaitons bienvenue à Storybrooke.
        <br><br>
     
                                  <span id="totaluser">{TOTAL_USERS_ONLINE}</span>
                  <br>
                                  <span id="connecteduser">{LOGGED_IN_USER_LIST}</span>
                    <br><br>
                                  <span id="record">{RECORD_USERS}</span>
                </span></div>
     
     
              </td>
       
              <td style="padding: 10px; vertical-align: top; background-color:; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; margin-top: 1px; margin-bottom: 1px; margin-right: 1px;" width="50%">
                <table><div style="background;>{L_CONNECTED_MEMBERS}</div><br>
                  <center> <div class="qeel_birth"><div style="background;>{L_WHOSBIRTHDAY_TODAY}</div></div></center>
          </td>
          </tr>
                  </table></td></tr>
        </table>
        <!-- END disable_viewonline -->
    {CHATBOX_BOTTOM}
    <br clear="all" />
    <!-- BEGIN switch_legend -->
    <table border="0" cellspacing="3" cellpadding="0" align="center">
      <tr>
          <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
          <td><span class="gensmall">{L_NEW_POSTS}</span></td>
          <td></td>
          <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
          <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
          <td>  </td>
          <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
          <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
      </tr>
    </table>
    <!-- END switch_legend -->

    {AUTO_DST}

    <!-- BEGIN switch_fb_index_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
      appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
        status: true,
        cookie: true,
        xfbml: true,
      oauth: true
    });
    //]]>
    </script>
    <!-- END switch_fb_index_login -->

Merci
carousse

carousse
*****

Messages : 844
Inscrit(e) le : 02/08/2008

http://rpg-vampire-knight.vampire-legend.com/
carousse a été remercié(e) par l'auteur de ce sujet.

Résolu Re: probleme de code

Message par Matriochka Mar 1 Jan 2013 - 18:31

Tiens, c’est juste ici :
Code:
a, a:link {
text-shadow: 0px 0px 5px #ffffff;
}
Wink

Et pour le template :
Code:
<td align="center"><img src="http://i10.servimg.com/u/f10/12/75/86/48/18711.jpg"><br><br><br></td><td>

Remplace par :
Code:
<td align="center"><img src="http://i10.servimg.com/u/f10/12/75/86/48/18711.jpg"><br><br><br></td><td align="center">
avatar

Matriochka
Membre actif

Messages : 7604
Inscrit(e) le : 14/07/2010

Matriochka a été remercié(e) par l'auteur de ce sujet.

Résolu Re: probleme de code

Message par carousse Dim 6 Jan 2013 - 20:42

merci bien
carousse

carousse
*****

Messages : 844
Inscrit(e) le : 02/08/2008

http://rpg-vampire-knight.vampire-legend.com/
carousse a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum