It is currently Thu 29 Sep 2016 - 10:23 - créer un forum

[Modification] Centrer le Logo

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 341, 42, 4384, 85, 86  >

[Modification] Centrer le Logo
Author Message
Cath-Prod





PostPosted: Wed 28 May 2008 - 10:14    Post subject: [Modification] Centrer le Logo Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

Et pour mon problème ? =P
C'est pareil sauf que je ne veux pas supprimer le titre (donc centré l'image et titre+ icone en dessous

Là j'ai remis les codes du début avec mon image http://free-photographies.xooit.com/portal.php

Merci pour toute l'aide que vous nous apportez.
Author Message
kostyks


Offline
Guest




PostPosted: Wed 28 May 2008 - 10:30    Post subject: [Modification] Centrer le Logo Reply with quote

Sauvegarde avant intervention ... dans le code

Bonjour,

Nous allons créer une ligne dans le tableau existant (au dessus des liens), fusionner celles qui ne nous serviront plus (celle de gauche contenant le logo actuel avec celles contenant les liens) et centrer le tout.

Il te faut changer cette partie de ton code dans le template overall_header.tpl :
Code: Sélectionner - Agrandir
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="200"><a href=index.php><img src="http://img5.xooimage.com/files/e/4/8/sans-titre-1-3a5c50.png" border="0" alt=Free-Photographies Index du Forum vspace="1" /></a></td>
<td align="center" valign="middle"><span class="maintitle">Free-Photographies</span><br /><span class="gen">Forum photo<br /> </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><a href="faq.php" class="mainmenu"><img src="http://img7.xooimage.com/files/i/c/icon_mini_faq-36623.gif" width="12" height="13" border="0" alt="FAQ" hspace="3" /></a><a href="{U_FAQ}" class="mainmenu"><span style="font-family: showcard gothic;">{L_FAQ}</span></a></span><span class="mainmenu"> <a href="search.php" class="mainmenu"><img src="http://img9.xooimage.com/files/i/c/icon_mini_search-36624.gif" width="12" height="13" border="0" alt="Rechercher" hspace="3" /></a><a href="{U_SEARCH}" class="mainmenu"><span style="font-family: showcard gothic;">{L_SEARCH}</span></a> <a href="memberlist.php" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_members-36625.gif" width="12" height="13" border="0" alt="Membres" hspace="3" /></a><a href="{U_MEMBERLIST}" class="mainmenu"><span style="font-family: showcard gothic;">{L_MEMBERLIST}</span></a> <a href="groupcp.php" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_groups-36626.gif" width="12" height="13" border="0" alt="Groupes" hspace="3" /></a><a href="{U_GROUP_CP}" class="mainmenu"><span style="font-family: showcard gothic;">{L_USERGROUPS}</span></a>

<a href="profile.php?mode=register" class="mainmenu"><img src="http://img5.xooimage.com/files/i/c/icon_mini_register-36627.gif" width="12" height="13" border="0" alt="S’enregistrer" hspace="3" /></a><a href="{U_REGISTER}" class="mainmenu"><span style="font-family: showcard gothic;">{L_REGISTER}</span></a></span></td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><a href="profile.php?mode=editprofile" class="mainmenu"><img src="http://img4.xooimage.com/files/i/c/icon_mini_profile-36628.gif" width="12" height="13" border="0" alt="Profil" hspace="3" /></a><a href="{U_PROFILE}" class="mainmenu"><span style="font-family: showcard gothic;">{L_PROFILE}</span></a> <a href="privmsg.php?folder=inbox" class="mainmenu"><img src="http://img7.xooimage.com/files/i/c/icon_mini_message-36629.gif" width="12" height="13" border="0" alt="Se connecter pour vérifier ses messages privés" hspace="3" /></a><a href="{U_PRIVATEMSGS}" class="mainmenu"><span style="font-family: showcard gothic;">{PRIVATE_MESSAGE_INFO}</span></a><a href="login.php" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_login-3662a.gif" width="12" height="13" border="0" alt="Connexion" hspace="3" /></a><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><span style="font-family: showcard gothic;">{L_LOGIN_LOGOUT}</span></a></span></td>
</tr>
</table>
</td>
</tr>
</table>


Par ceci :
Code: Sélectionner - Agrandir
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
  <td align="center"><a href=index.php><img src="http://img5.xooimage.com/files/e/4/8/sans-titre-1-3a5c50.png" border="0" alt=Free-Photographies index du forum vspace="1" /></a></td>
  </tr>
<tr>
<td align="center"><span class="maintitle"><br />
  Free-Photographies</span><br />
  <span class="gen">Forum photo<br />
  </span>
  <table cellspacing="0" cellpadding="2" border="0">
  <tr>
  <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><a href="faq.php" class="mainmenu"><img src="http://img7.xooimage.com/files/i/c/icon_mini_faq-36623.gif" width="12" height="13" border="0" alt="FAQ" hspace="3" /></a><a href="{U_FAQ}" class="mainmenu"><span style="font-family: showcard gothic;">{L_FAQ}</span></a></span><span class="mainmenu"> <a href="search.php" class="mainmenu"><img src="http://img9.xooimage.com/files/i/c/icon_mini_search-36624.gif" width="12" height="13" border="0" alt="Rechercher" hspace="3" /></a><a href="{U_SEARCH}" class="mainmenu"><span style="font-family: showcard gothic;">{L_SEARCH}</span></a> <a href="memberlist.php" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_members-36625.gif" width="12" height="13" border="0" alt="Membres" hspace="3" /></a><a href="{U_MEMBERLIST}" class="mainmenu"><span style="font-family: showcard gothic;">{L_MEMBERLIST}</span></a> <a href="groupcp.php" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_groups-36626.gif" width="12" height="13" border="0" alt="Groupes" hspace="3" /></a><a href="{U_GROUP_CP}" class="mainmenu"><span style="font-family: showcard gothic;">{L_USERGROUPS}</span></a>
   
  <a href="profile.php?mode=register" class="mainmenu"><img src="http://img5.xooimage.com/files/i/c/icon_mini_register-36627.gif" width="12" height="13" border="0" alt="S’enregistrer" hspace="3" /></a><a href="{U_REGISTER}" class="mainmenu"><span style="font-family: showcard gothic;">{L_REGISTER}</span></a></span></td>
  </tr>
  <tr>
  <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"><a href="profile.php?mode=editprofile" class="mainmenu"><img src="http://img4.xooimage.com/files/i/c/icon_mini_profile-36628.gif" width="12" height="13" border="0" alt="Profil" hspace="3" /></a><a href="{U_PROFILE}" class="mainmenu"><span style="font-family: showcard gothic;">{L_PROFILE}</span></a> <a href="privmsg.php?folder=inbox" class="mainmenu"><img src="http://img7.xooimage.com/files/i/c/icon_mini_message-36629.gif" width="12" height="13" border="0" alt="Se connecter pour vérifier ses messages privés" hspace="3" /></a><a href="{U_PRIVATEMSGS}" class="mainmenu"><span style="font-family: showcard gothic;">{PRIVATE_MESSAGE_INFO}</span></a><a href="login.php" class="mainmenu"><img src="http://img8.xooimage.com/files/i/c/icon_mini_login-3662a.gif" width="12" height="13" border="0" alt="Connexion" hspace="3" /></a><a href="{U_LOGIN_LOGOUT}" class="mainmenu"><span style="font-family: showcard gothic;">{L_LOGIN_LOGOUT}</span></a></span></td>
  </tr>
  </table></td>
</tr>
</table>


Author Message
lali


Offline
Guest




PostPosted: Wed 28 May 2008 - 10:37    Post subject: [Modification] Centrer le Logo Reply with quote

Merci kostyks

je vais abuser mais je souhaiterais mettre faq,membres,mp etc... sur une méme ligne
Pourrais tu me dire comment faire?


Author Message
kostyks


Offline
Guest




PostPosted: Wed 28 May 2008 - 11:05    Post subject: [Modification] Centrer le Logo Reply with quote

Sauvegarde du template overhall_header.tpl avant tout intervention

Lali, il faut supprimer la deuxième ligne du menu et insérer le contenu dans celle dans celle du dessus. Donc enlever le <tr><td>LIENS</td></tr>

Mais je vais te faciliter tout ça. Mr. Green
Voici le code du template mis à jour :
Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}<link rel="shortcut icon" href=" http://www.picdo.net/Fichiers/a6c2b67afd88881cb56c38815640d15/1211471994.ico">
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img1.xooimage.com/files/2/2/c/subautomnia-39393c.css" type="text/css" -->
<style type="text/css">
<!--
/*
  The original subAutomnia Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body { 
      background-image: url(http://img9.xooimage.com/files/2/2/1/red140-13b613.jpg) 
    background-color: {T_BODY_BGCOLOR};
    scrollbar-face-color: {T_TR_COLOR2};
    scrollbar-highlight-color: {T_TD_COLOR2};
    scrollbar-shadow-color: {T_TR_COLOR2};
    scrollbar-3dlight-color: {T_TR_COLOR3};
    scrollbar-arrow-color:  {T_BODY_LINK};
    scrollbar-track-color: {T_TR_COLOR1};
    scrollbar-darkshadow-color: {T_TH_COLOR1};
}

/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited {text-decoration: none;  color : {T_BODY_LINK}; }
a:hover        { text-decoration: none; color : {T_BODY_HLINK}; }
hr    { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline { background-image: url(http://img3.xooimage.com/files/d/2/b/rose_099-fa590.jpg); border: 1px {T_TH_COLOR1} solid; } 

/* This is the outline round the main forum tables */
.forumline    { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

/* Main table cell colours and backgrounds */
td.row1    { background-color: {T_TR_COLOR1}; }
td.row2    { background-color: {T_TR_COLOR2}; }
td.row3    { background-color: {T_TR_COLOR3}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
        background-color: {T_TD_COLOR2};
        background-image: url(http://img8.xooimage.com/files/f/3/0/ti-34d2d7.jpg);
        background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th    {
    color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold; 
    background-color: {T_BODY_LINK}; height: 25px;
    background-image: url(http://img4.xooimage.com/files/2/7/a/rouge_19-335f7c.jpg);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
            background-image: url(http://img8.xooimage.com/files/f/3/0/ti-34d2d7.jpg);
            background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
    height: 29px;
    border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
    font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
    background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow     { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right     { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft      { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop     { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle    {
    font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
    text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover    { color: {T_BODY_HLINK}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu        { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu        { text-decoration: blod; color : {T_BODY_LINK};  }
a.mainmenu:hover{text-decoration: none; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle        { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle        { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink        { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink     { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav            { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav            { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover        { text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2    { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover    { text-decoration: underline; color : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name            { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails        { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link    { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code { 
    font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
    background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
    border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
    font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
    background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
    border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright        { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright        { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
    color : {T_BODY_TEXT};
    font: normal {T_FONTSIZE2}px {T_FONTFACE1};
    border-color : {T_BODY_TEXT};
}

/* The text input fields background colour */
input.post, textarea.post, select {
    background-color : {#ffffff};
      background-image: url(http://img2.xooimage.com/files/1/a/f/ti-34d380.jpg); 
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
    background-color : {T_TR_COLOR1};
    color : {T_BODY_TEXT};
    font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
    background-color : {T_TD_COLOR1};
    font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
    background-color : {T_TD_COLOR1};
    font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("http://img10.xooimage.com/files/f/o/formie-30d7c.css"); 
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
    if ( {PRIVATE_MESSAGE_NEW_FLAG} )
    {
        window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
    }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script type="text/javascript">
<!--
/*
* Le code suivant va apprendre la balise blink à IE
*/
if ( document.all )
{
   function blink_show()
   {
      blink_tags  = document.all.tags('blink');
      blink_count = blink_tags.length;
      for ( i = 0; i < blink_count; i++ )
      {
         blink_tags[i].style.visibility = 'visible';
      }
     
      window.setTimeout( 'blink_hide()', 700 );
   }
   
   function blink_hide()
   {
      blink_tags  = document.all.tags('blink');
      blink_count = blink_tags.length;
      for ( i = 0; i < blink_count; i++ )
      {
         blink_tags[i].style.visibility = 'hidden';
      }
     
      window.setTimeout( 'blink_show()', 250 );
   }
   
   window.onload = blink_show;
}
-->
</script></head>

<body background="http://img9.xooimage.com/files/2/2/1/red140-13b613.jpg" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"  oncontextmenu="return bloc()"> 

<a name="top"></a>

<table width="720" cellspacing="0" cellpadding="10" border="0" align="center"> 
    <tr> 
        <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr> 
                <td align="center" width="100%" valign="middle"><span class="gen"><a href="{U_INDEX}"><img src="http://img10.xooimage.com/files/3/e/0/yyy-3a6481.jpg" border="0" alt="{L_INDEX}" vspace="1" /></a><br />
                  &nbsp; </span>
                <table cellspacing="0" cellpadding="2" border="0">
                    <tr> 
                        <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_FAQ}" hspace="3" /><span style="font-family: showcard gothic;">{L_FAQ}</span></a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_SEARCH}" hspace="3" /><span style="font-family: showcard gothic;">{L_SEARCH}</span></a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_MEMBERLIST}" hspace="3" /><span style="font-family: showcard gothic;">{L_MEMBERLIST}</span></a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_USERGROUPS}" hspace="3" /><span style="font-family: showcard gothic;">{L_USERGROUPS}</span></a>&nbsp; 
                        <!-- BEGIN switch_user_logged_out -->
                        &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_REGISTER}" hspace="3" /><span style="font-family: showcard gothic;">{L_REGISTER}</span></a>&nbsp;
                        <!-- END switch_user_logged_out -->
                        <a href="{U_PROFILE}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_PROFILE}" hspace="3" /><span style="font-family: showcard gothic;">{L_PROFILE}</span></a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" /><span style="font-family: showcard gothic;">
                        <!-- IF PRIVATE_MESSAGE_INFO == "Vous avez 1 nouveau message" -->
                        <font color=red><b><blink>Messagerie</blink></b></font>
                        <!-- ELSEIF PRIVATE_MESSAGE_INFO == "Vous n’avez pas de nouveaux messages" -->
Messagerie
<!-- ELSEIF PRIVATE_MESSAGE_INFO == "Se connecter pour vérifier ses messages privés" -->
Messagerie
<!-- ELSEIF PRIVATE_MESSAGE_INFO != "" -->
<!-- AND PRIVATE_MESSAGE_INFO != "Vous avez 1 nouveau message" -->
<!-- AND PRIVATE_MESSAGE_INFO != "Vous n’avez pas de nouveaux messages" -->
<!-- AND PRIVATE_MESSAGE_INFO != "Se connecter pour vérifier ses messages privés" -->
<font color=red><b><blink>messagerie</blink></b></font>
<!-- ELSE -->
{PRIVATE_MESSAGE_INFO}
<!-- ENDIF -->
                        </span></a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" /><span style="font-family: showcard gothic;">{L_LOGIN_LOGOUT}</span></a></span></td>
                    </tr>
              </table></td>
            </tr>
        </table>

        <br />

<script type="text/javascript">
// <![CDATA[
var colour="#f0f";
var sparkles=50;
/****************************
*  Tinkerbell Magic Sparkle *
* (c) 2005 mf2fm web-design *
* http://www.mf2fm.co.uk/rv *
* DON'T EDIT BELOW THIS BOX *
* topcode adapté *
****************************/
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();
var tinyy=new Array();
var tinyv=new Array();
window.onload=function() { if (document.getElementById) {
  var i, rats, rlef, rdow;
  for (var i=0; i<sparkles; i++) {
    var rats=createDiv(3, 3);
    rats.style.visibility="hidden";
    document.body.appendChild(tiny[i]=rats);
    starv[i]=0;
    tinyv[i]=0;
    var rats=createDiv(5, 5);
    rats.style.backgroundColor="transparent";
    rats.style.visibility="hidden";
    var rlef=createDiv(1, 5);
    var rdow=createDiv(5, 1);
    rats.appendChild(rlef);
    rats.appendChild(rdow);
    rlef.style.top="2px";
    rlef.style.left="0px";
    rdow.style.top="0px";
    rdow.style.left="2px";
    document.body.appendChild(star[i]=rats);
  }
  set_width();
  sparkle();
}}
function sparkle() {
  var c;
  if (x!=ox || y!=oy) {
    ox=x;
    oy=y;
    for (c=0; c<sparkles; c++) if (!starv[c]) {
      star[c].style.left=(starx[c]=x)+"px";
      star[c].style.top=(stary[c]=y)+"px";
      star[c].style.clip="rect(0px, 5px, 5px, 0px)";
      star[c].style.visibility="visible";
      starv[c]=50;
      break;
    }
  }
  for (c=0; c<sparkles; c++) {
    if (starv[c]) update_star(c);
    if (tinyv[c]) update_tiny(c);
  }
  setTimeout("sparkle()", 40);
}
function update_star(i) {
  if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  if (starv[i]) {
    stary[i]+=1+Math.random()*3;
    if (stary[i]<shigh+sdown) {
      star[i].style.top=stary[i]+"px";
      starx[i]+=(i%5-2)/5;
      star[i].style.left=starx[i]+"px";
    }
    else {
      star[i].style.visibility="hidden";
      starv[i]=0;
      return;
    }
  }
  else {
    tinyv[i]=50;
    tiny[i].style.top=(tinyy[i]=stary[i])+"px";
    tiny[i].style.left=(tinyx[i]=starx[i])+"px";
    tiny[i].style.width="2px";
    tiny[i].style.height="2px";
    star[i].style.visibility="hidden";
    tiny[i].style.visibility="visible"
  }
}
function update_tiny(i) {
  if (--tinyv[i]==25) {
    tiny[i].style.width="1px";
    tiny[i].style.height="1px";
  }
  if (tinyv[i]) {
    tinyy[i]+=1+Math.random()*3;
    if (tinyy[i]<shigh+sdown) {
      tiny[i].style.top=tinyy[i]+"px";
      tinyx[i]+=(i%5-2)/5;
      tiny[i].style.left=tinyx[i]+"px";
    }
    else {
      tiny[i].style.visibility="hidden";
      tinyv[i]=0;
      return;
    }
  }
  else tiny[i].style.visibility="hidden";
}
document.onmousemove=mouse;
function mouse(e) {
  set_scroll();
  y=(e)?e.pageY:event.y+sdown;
  x=(e)?e.pageX:event.x+sleft;
}
function set_scroll() {
  if (typeof(self.pageYOffset)=="number") {
    sdown=self.pageYOffset;
    sleft=self.pageXOffset;
  }
  else if (document.body.scrollTop || document.body.scrollLeft) {
    sdown=document.body.scrollTop;
    sleft=document.body.scrollLeft;
  }
  else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
    sleft=document.documentElement.scrollLeft;
    sdown=document.documentElement.scrollTop;
  }
  else {
    sdown=0;
    sleft=0;
  }
}
window.onresize=set_width;
function set_width() {
  if (typeof(self.innerWidth)=="number") {
    swide=self.innerWidth;
    shigh=self.innerHeight;
  }
  else if (document.documentElement && document.documentElement.clientWidth) {
    swide=document.documentElement.clientWidth;
    shigh=document.documentElement.clientHeight;
  }
  else if (document.body.clientWidth) {
    swide=document.body.clientWidth;
    shigh=document.body.clientHeight;
  }
}
function createDiv(height, width) {
  var div=document.createElement("div");
  div.style.position="absolute";
  div.style.height=height+"px";
  div.style.width=width+"px";
  div.style.overflow="hidden";
  div.style.backgroundColor=colour;
  return (div);
}
// ]]>
</script>

<SCRIPT LANGUAGE=JAVASCRIPT>
// Script créé par Mingain
//Copyright 2004
// http://awoc.free.fr
function bloc(){alert('Pas de clic droit, svp !'); return false;}
</SCRIPT>
<center><script language=javascript src="http://www.lapenseedujour.net/penseeweb.php?<b>couleurtexte=6A002A&tailletexte=3"[b]></script><center>


Author Message
lali


Offline
Guest




PostPosted: Wed 28 May 2008 - 11:34    Post subject: [Modification] Centrer le Logo Reply with quote

Merci tout s'est bien passé
Par contre ma pub google a changé de couleur et je ne parviens plus a changer cela via le panneau d'admin changer les couleurs


Author Message
kostyks


Offline
Guest




PostPosted: Wed 28 May 2008 - 11:46    Post subject: [Modification] Centrer le Logo Reply with quote

Lali, je te recolle le code initial (overhall_header.tpl) modifié pour faire apparaître les liens sur une seule ligne.

Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}<link rel="shortcut icon" href=" http://www.picdo.net/Fichiers/a6c2b67afd88881cb56c38815640d15/1211471994.ico">
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img1.xooimage.com/files/2/2/c/subautomnia-39393c.css" type="text/css" -->
<style type="text/css">
<!--
/*
  The original subAutomnia Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body { 
      background-image: url(http://img9.xooimage.com/files/2/2/1/red140-13b613.jpg) 
    background-color: {T_BODY_BGCOLOR};
    scrollbar-face-color: {T_TR_COLOR2};
    scrollbar-highlight-color: {T_TD_COLOR2};
    scrollbar-shadow-color: {T_TR_COLOR2};
    scrollbar-3dlight-color: {T_TR_COLOR3};
    scrollbar-arrow-color:  {T_BODY_LINK};
    scrollbar-track-color: {T_TR_COLOR1};
    scrollbar-darkshadow-color: {T_TH_COLOR1};
}

/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited {text-decoration: none;  color : {T_BODY_LINK}; }
a:hover        { text-decoration: none; color : {T_BODY_HLINK}; }
hr    { height: 0px; border: solid {T_TR_COLOR3} 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline { background-image: url(http://img3.xooimage.com/files/d/2/b/rose_099-fa590.jpg); border: 1px {T_TH_COLOR1} solid; } 

/* This is the outline round the main forum tables */
.forumline    { background-color: {T_TD_COLOR2}; border: 2px {T_TH_COLOR2} solid; }

/* Main table cell colours and backgrounds */
td.row1    { background-color: {T_TR_COLOR1}; }
td.row2    { background-color: {T_TR_COLOR2}; }
td.row3    { background-color: {T_TR_COLOR3}; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
        background-color: {T_TD_COLOR2};
        background-image: url(http://img8.xooimage.com/files/f/3/0/ti-34d2d7.jpg);
        background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th    {
    color: {T_FONTCOLOR3}; font-size: {T_FONTSIZE2}px; font-weight : bold; 
    background-color: {T_BODY_LINK}; height: 25px;
    background-image: url(http://img4.xooimage.com/files/2/7/a/rouge_19-335f7c.jpg);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
            background-image: url(http://img8.xooimage.com/files/f/3/0/ti-34d2d7.jpg);
            background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
    height: 29px;
    border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
    font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
    background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid;
}

th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow     { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right     { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft      { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop     { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle    {
    font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
    text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}

/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: {T_BODY_LINK}; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover    { color: {T_BODY_HLINK}; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu        { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu        { text-decoration: blod; color : {T_BODY_LINK};  }
a.mainmenu:hover{text-decoration: none; color : {T_BODY_HLINK}; }

/* Forum category titles */
.cattitle        { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
a.cattitle        { text-decoration: none; color : {T_BODY_LINK}; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink        { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
a.forumlink     { text-decoration: none; color : {T_BODY_LINK}; }
a.forumlink:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav            { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav            { text-decoration: none; color : {T_BODY_LINK}; }
a.nav:hover        { text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2    { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link   { text-decoration: none; color : {T_BODY_LINK}; }
a.topictitle:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.topictitle:hover    { text-decoration: underline; color : {T_BODY_HLINK}; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name            { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}

/* Location, number of posts, post date etc */
.postdetails        { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }

/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link    { text-decoration: none; color : {T_BODY_LINK} }
a.postlink:visited { text-decoration: none; color : {T_BODY_VLINK}; }
a.postlink:hover { text-decoration: underline; color : {T_BODY_HLINK}}

/* Quote & Code blocks */
.code { 
    font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
    background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
    border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
    font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
    background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
    border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright        { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright        { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: underline;}

/* Form elements */
input,textarea, select {
    color : {T_BODY_TEXT};
    font: normal {T_FONTSIZE2}px {T_FONTFACE1};
    border-color : {T_BODY_TEXT};
}

/* The text input fields background colour */
input.post, textarea.post, select {
    background-color : {#ffffff};
      background-image: url(http://img2.xooimage.com/files/1/a/f/ti-34d380.jpg); 
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
    background-color : {T_TR_COLOR1};
    color : {T_BODY_TEXT};
    font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}

/* The main submit button option */
input.mainoption {
    background-color : {T_TD_COLOR1};
    font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
    background-color : {T_TD_COLOR1};
    font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("http://img10.xooimage.com/files/f/o/formie-30d7c.css"); 
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
    if ( {PRIVATE_MESSAGE_NEW_FLAG} )
    {
        window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
    }
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script type="text/javascript">
<!--
/*
* Le code suivant va apprendre la balise blink à IE
*/
if ( document.all )
{
   function blink_show()
   {
      blink_tags  = document.all.tags('blink');
      blink_count = blink_tags.length;
      for ( i = 0; i < blink_count; i++ )
      {
         blink_tags[i].style.visibility = 'visible';
      }
     
      window.setTimeout( 'blink_hide()', 700 );
   }
   
   function blink_hide()
   {
      blink_tags  = document.all.tags('blink');
      blink_count = blink_tags.length;
      for ( i = 0; i < blink_count; i++ )
      {
         blink_tags[i].style.visibility = 'hidden';
      }
     
      window.setTimeout( 'blink_show()', 250 );
   }
   
   window.onload = blink_show;
}
-->
</script></head>

<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<body background="http://img9.xooimage.com/files/2/2/1/red140-13b613.jpg" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"> 

<a name="top"></a>

<table width="720" cellspacing="0" cellpadding="10" border="0" align="center"> 
    <tr> 
        <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr> 
                <td align="center" width="100%" valign="middle"><span class="gen"><a href="{U_INDEX}"><img src="http://img10.xooimage.com/files/3/e/0/yyy-3a6481.jpg" border="0" alt="{L_INDEX}" vspace="1" /></a><br />
                  &nbsp; </span>
                <table cellspacing="0" cellpadding="2" border="0">
                    <tr> 
                        <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_FAQ}" hspace="3" /><span style="font-family: showcard gothic;">{L_FAQ}</span></a>&nbsp; &nbsp;<a href="{U_SEARCH}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_SEARCH}" hspace="3" /><span style="font-family: showcard gothic;">{L_SEARCH}</span></a>&nbsp; &nbsp;<a href="{U_MEMBERLIST}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_MEMBERLIST}" hspace="3" /><span style="font-family: showcard gothic;">{L_MEMBERLIST}</span></a>&nbsp; &nbsp;<a href="{U_GROUP_CP}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_USERGROUPS}" hspace="3" /><span style="font-family: showcard gothic;">{L_USERGROUPS}</span></a>&nbsp; 
                        <!-- BEGIN switch_user_logged_out -->
                        &nbsp;<a href="{U_REGISTER}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_REGISTER}" hspace="3" /><span style="font-family: showcard gothic;">{L_REGISTER}</span></a>&nbsp;&nbsp;<a href="{U_PROFILE}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_PROFILE}" hspace="3" /><span style="font-family: showcard gothic;">{L_PROFILE}</span></a>&nbsp; &nbsp;<a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" /><span style="font-family: showcard gothic;">
                        <!-- IF PRIVATE_MESSAGE_INFO == "Vous avez 1 nouveau message" -->
                        <font color=red><b><blink>Messagerie</blink></b></font>
                        <!-- ELSEIF PRIVATE_MESSAGE_INFO == "Vous n’avez pas de nouveaux messages" -->
Messagerie
<!-- ELSEIF PRIVATE_MESSAGE_INFO == "Se connecter pour vérifier ses messages privés" -->
Messagerie
<!-- ELSEIF PRIVATE_MESSAGE_INFO != "" -->
<!-- AND PRIVATE_MESSAGE_INFO != "Vous avez 1 nouveau message" -->
<!-- AND PRIVATE_MESSAGE_INFO != "Vous n’avez pas de nouveaux messages" -->
<!-- AND PRIVATE_MESSAGE_INFO != "Se connecter pour vérifier ses messages privés" -->
<font color=red><b><blink>messagerie</blink></b></font>
<!-- ELSE -->
{PRIVATE_MESSAGE_INFO}
<!-- ENDIF -->
                        </span></a>&nbsp; &nbsp;<a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="http://img8.xooimage.com/files/d/6/9/589256358-dbc4a.gif" width="18" height="18" border="0" alt="{L_LOGIN_LOGOUT}" hspace="3" /><span style="font-family: showcard gothic;">{L_LOGIN_LOGOUT}</span></a>
                        <!-- END switch_user_logged_out -->
                        </span></td>
                    </tr>
              </table></td>
            </tr>
        </table>

        <br />

<script type="text/javascript">
// <![CDATA[
var colour="#f0f";
var sparkles=50;
/****************************
*  Tinkerbell Magic Sparkle *
* (c) 2005 mf2fm web-design *
* http://www.mf2fm.co.uk/rv *
* DON'T EDIT BELOW THIS BOX *
* topcode adapté *
****************************/
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();
var tinyy=new Array();
var tinyv=new Array();
window.onload=function() { if (document.getElementById) {
  var i, rats, rlef, rdow;
  for (var i=0; i<sparkles; i++) {
    var rats=createDiv(3, 3);
    rats.style.visibility="hidden";
    document.body.appendChild(tiny[i]=rats);
    starv[i]=0;
    tinyv[i]=0;
    var rats=createDiv(5, 5);
    rats.style.backgroundColor="transparent";
    rats.style.visibility="hidden";
    var rlef=createDiv(1, 5);
    var rdow=createDiv(5, 1);
    rats.appendChild(rlef);
    rats.appendChild(rdow);
    rlef.style.top="2px";
    rlef.style.left="0px";
    rdow.style.top="0px";
    rdow.style.left="2px";
    document.body.appendChild(star[i]=rats);
  }
  set_width();
  sparkle();
}}
function sparkle() {
  var c;
  if (x!=ox || y!=oy) {
    ox=x;
    oy=y;
    for (c=0; c<sparkles; c++) if (!starv[c]) {
      star[c].style.left=(starx[c]=x)+"px";
      star[c].style.top=(stary[c]=y)+"px";
      star[c].style.clip="rect(0px, 5px, 5px, 0px)";
      star[c].style.visibility="visible";
      starv[c]=50;
      break;
    }
  }
  for (c=0; c<sparkles; c++) {
    if (starv[c]) update_star(c);
    if (tinyv[c]) update_tiny(c);
  }
  setTimeout("sparkle()", 40);
}
function update_star(i) {
  if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  if (starv[i]) {
    stary[i]+=1+Math.random()*3;
    if (stary[i]<shigh+sdown) {
      star[i].style.top=stary[i]+"px";
      starx[i]+=(i%5-2)/5;
      star[i].style.left=starx[i]+"px";
    }
    else {
      star[i].style.visibility="hidden";
      starv[i]=0;
      return;
    }
  }
  else {
    tinyv[i]=50;
    tiny[i].style.top=(tinyy[i]=stary[i])+"px";
    tiny[i].style.left=(tinyx[i]=starx[i])+"px";
    tiny[i].style.width="2px";
    tiny[i].style.height="2px";
    star[i].style.visibility="hidden";
    tiny[i].style.visibility="visible"
  }
}
function update_tiny(i) {
  if (--tinyv[i]==25) {
    tiny[i].style.width="1px";
    tiny[i].style.height="1px";
  }
  if (tinyv[i]) {
    tinyy[i]+=1+Math.random()*3;
    if (tinyy[i]<shigh+sdown) {
      tiny[i].style.top=tinyy[i]+"px";
      tinyx[i]+=(i%5-2)/5;
      tiny[i].style.left=tinyx[i]+"px";
    }
    else {
      tiny[i].style.visibility="hidden";
      tinyv[i]=0;
      return;
    }
  }
  else tiny[i].style.visibility="hidden";
}
document.onmousemove=mouse;
function mouse(e) {
  set_scroll();
  y=(e)?e.pageY:event.y+sdown;
  x=(e)?e.pageX:event.x+sleft;
}
function set_scroll() {
  if (typeof(self.pageYOffset)=="number") {
    sdown=self.pageYOffset;
    sleft=self.pageXOffset;
  }
  else if (document.body.scrollTop || document.body.scrollLeft) {
    sdown=document.body.scrollTop;
    sleft=document.body.scrollLeft;
  }
  else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
    sleft=document.documentElement.scrollLeft;
    sdown=document.documentElement.scrollTop;
  }
  else {
    sdown=0;
    sleft=0;
  }
}
window.onresize=set_width;
function set_width() {
  if (typeof(self.innerWidth)=="number") {
    swide=self.innerWidth;
    shigh=self.innerHeight;
  }
  else if (document.documentElement && document.documentElement.clientWidth) {
    swide=document.documentElement.clientWidth;
    shigh=document.documentElement.clientHeight;
  }
  else if (document.body.clientWidth) {
    swide=document.body.clientWidth;
    shigh=document.body.clientHeight;
  }
}
function createDiv(height, width) {
  var div=document.createElement("div");
  div.style.position="absolute";
  div.style.height=height+"px";
  div.style.width=width+"px";
  div.style.overflow="hidden";
  div.style.backgroundColor=colour;
  return (div);
}
// ]]>
</script>

<body oncontextmenu="return bloc()">

<SCRIPT LANGUAGE=JAVASCRIPT>
// Script créé par Mingain
//Copyright 2004
// http://awoc.free.fr
function bloc(){alert('Pas de clic droit, svp !'); return false;}
</SCRIPT>
</body>
</html>
<center><script language=javascript src="http://www.lapenseedujour.net/penseeweb.php?<b>couleurtexte=6A002A&tailletexte=3"[b]></script><center>


Author Message
lali


Offline
Guest




PostPosted: Wed 28 May 2008 - 11:56    Post subject: [Modification] Centrer le Logo Reply with quote

Et pour mon problème de couleur de pub aurais tu une solution stp ?

Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Wed 28 May 2008 - 12:12    Post subject: [Modification] Centrer le Logo Reply with quote

Forum
Author Message
kostyks


Offline
Guest




PostPosted: Wed 28 May 2008 - 12:12    Post subject: [Modification] Centrer le Logo Reply with quote

Je n'ai pas fais de changement qui aurait pu modifier les couleurs des pubs.

Je te propose de te référer à ce post de Xooit : http://xooit.xooit.com/t14086-Adapter-la-couleur-de-la-publicité-Google-au-…

Edit : Themalin ... trop speed ... tu m'as devancé Mr. Green


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Wed 28 May 2008 - 12:14    Post subject: [Modification] Centrer le Logo Reply with quote

sinon

 
Quote:
J'ai déjà testé le code dans le 1er message mais l'image avait disparu. Je réessaie.


si tu avais lu le tuto tu aurais vu qu'il suffit de changer simplement le lien de l'image à la même place que tu as fais les modifs pour remettre ton image
_______________________


Forum
Author Message
lali


Offline
Guest




PostPosted: Wed 28 May 2008 - 12:19    Post subject: [Modification] Centrer le Logo Reply with quote

Bonjour themalin

J'ai déjà lu le tuto
Ma couleur de fond est modifié dans
théme
modifier les couleurs

Pourtant la pub ne la prend pas en compte


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Wed 28 May 2008 - 12:22    Post subject: [Modification] Centrer le Logo Reply with quote

post à la suite du tuto en question pas ici
_______________________


Forum
Author Message
Cath-Prod


Offline
Guest




PostPosted: Wed 28 May 2008 - 16:26    Post subject: [Modification] Centrer le Logo Reply with quote

Je vous remercie ça marche impeccable.

kostyks wrote:
Sauvegarde du template overhall_header.tpl avant tout intervention

Lali, il faut supprimer la deuxième ligne du menu et insérer le contenu dans celle dans celle du dessus. Donc enlever le <tr><td>LIENS</td></tr>


Moi aussi je dois faire ça pour mettre sur la même ligne ?

Author Message
lillynight


Offline
Guest




PostPosted: Thu 29 May 2008 - 02:34    Post subject: [Modification] Centrer le Logo Reply with quote

Coucou,

Voilà, je viens ici aussi pour centrer mon logo, je vous préviens de suite je connais rien en templates :S
J'ai l'habitude d'utiliser forum actif mais là j'ai pris xooit et je dois dire que c'est vraiment différent mais je vais y arriver^^.

Quelqu'un pourrait-il m'aider à centrer ce logo. Faut m'expliquer clairement hein, parfois mon côté blonde ressort (je taquine bien sure Wink)
J'ai utilisée pour info, le thème mylpotter et fais des modifications.



Merci d'avance !

lilynight,

mon forum:

http://guilderosenoire.xooit.fr/index.php


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 29 May 2008 - 12:26    Post subject: [Modification] Centrer le Logo Reply with quote

bonjour

panneau admin
thème
modifier les templates
overall header tpl cherches


Code: Sélectionner - Agrandir

<tr>
<td><a href="index.php"><img src="http://img7.xooimage.com/files/4/0/9/banrosenoire-3af266.gif" border="0" alt=" Index du Forum" vspace="1" /></a></td>
<td align="center" width="100%" valign="middle"><span class="title"></span><br /><span class="maintitle">guilde pour femme en relation avec les RR<br />&nbsp; </span>
<table cellspacing="0" cellpadding="2" border="0">
remplaces par

Code: Sélectionner - Agrandir

<tr>
<td align="center"><a href="index.php"><img src="http://img7.xooimage.com/files/4/0/9/banrosenoire-3af266.gif" border="0" alt=" Index du Forum" vspace="1" /></a></td></tr><tr>
<td align="center" width="100%" valign="middle"><span class="title"></span><br /><span class="maintitle">guilde pour femme en relation avec les RR<br />&nbsp; </span>
<table cellspacing="0" cellpadding="2" border="0">

_______________________


Forum
Author Message
lillynight


Offline
Guest




PostPosted: Thu 29 May 2008 - 14:50    Post subject: [Modification] Centrer le Logo Reply with quote

Merci pour la réponse très rapide et efficace, vous venez de faire une heureuse de plus^^. Merci encore pour l'aide apportée !  Very Happy

Author Message
Contenu Sponsorisé





PostPosted: Today at 10:23    Post subject: [Modification] Centrer le Logo

Display posts from previous:   
Reply to topic Page 42 of 86 Goto page: <  1, 2, 341, 42, 4384, 85, 86  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401