It is currently Mon 26 Sep 2016 - 12:27 - créer un forum

[Modification] Centrer le Logo

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 340, 41, 4284, 85, 86  >

[Modification] Centrer le Logo
Author Message
*EmM@*


Joined: 14 Nov 2007
Posts: 26

PostPosted: Thu 22 May 2008 - 23:51    Post subject: [Modification] Centrer le Logo Reply with quote

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

Oh super méga génial : merci c'est vraiment gentil de m'avoir donner un coup de main! Ca fonctionne c'est fantastique!
Super réactivité! Wink
Forum
Author Message
Cath-Prod


Offline
Guest




PostPosted: Tue 27 May 2008 - 16:12    Post subject: [Modification] Centrer le Logo Reply with quote

Je crée actuellement un nouveau forum et j'aimerai centrer mon logo.
J'utilise le thème Xtrem.

Merci pour votre aide.










Author Message
Arlem2


Offline
Guest




PostPosted: Tue 27 May 2008 - 18:46    Post subject: [Modification] Centrer le Logo Reply with quote

Si ton forum est bien celui-ci :
http://free-photographies.xooit.com/portal.php

Le code donné dans le premier message de la première page devrait fonctionner.
(Mets à jour l'adresse de ton forum dans ton profil d'ailleurs).


Author Message
Cath-Prod


Offline
Guest




PostPosted: Tue 27 May 2008 - 19:02    Post subject: [Modification] Centrer le Logo Reply with quote

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

Author Message
Arlem2


Offline
Guest




PostPosted: Tue 27 May 2008 - 19:08    Post subject: [Modification] Centrer le Logo Reply with quote

Restaure d'abord ton template Overall_header.tpl puis réessaie .

Author Message
Cath-Prod


Offline
Guest




PostPosted: Tue 27 May 2008 - 19:17    Post subject: [Modification] Centrer le Logo Reply with quote

Là quand je restaure (je pense que restaurer c'est remettre le 1er code de la page 1) j'ai toujours pas d'image, c'est normal ?

Author Message
Arlem2


Offline
Guest




PostPosted: Tue 27 May 2008 - 19:24    Post subject: [Modification] Centrer le Logo Reply with quote

Non, installe le même thème dans le thème de test et copier/colle le template Overall_header.tpl du thème de test dans le thème normal et copie/colle le ici aussi que j'essaie de voir également d'où cela peut venir.

Author Message
Cath-Prod


Offline
Guest




PostPosted: Tue 27 May 2008 - 19:31    Post subject: [Modification] Centrer le Logo Reply with quote

alors le code du départ




 
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}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="http://img9.xooimage.com/files/x/t/xtreme-36621.css" type="text/css" />
<style type="text/css">
<!--
TH         { background-image: url(http://img7.xooimage.com/files/c/e/cellpic3-344da.gif) }
TD.cat      { background-image: url(http://img9.xooimage.com/files/c/e/cellpic1-344dd.gif) }
TD.rowpic   { background-image: url(http://img4.xooimage.com/files/c/e/cellpic2-34423.jpg); background-repeat: repeat-y }
TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-image: url(http://img9.xooimage.com/files/c/e/cellpic1-344dd.gif) }
-->
</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 -->
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">

<a name="top">[/url]

<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
    <tr>
 <td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
                <td width="200"><a href={U_INDEX}>[img]http://img6.xooimage.com/files/l/o/logo_phpbb-36622.gif[/img][/url]</td>
                <td align="center" valign="middle"><span class="maintitle">{SITENAME}</span>
<span class="gen">{SITE_DESCRIPTION}
 </span>
                <table cellspacing="0" cellpadding="2" border="0">
                    <tr>
                        <td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">[url=http://{u_faq}/][img]http://img7.xooimage.com/files/i/c/icon_mini_faq-36623.gif[/img][/url]{L_FAQ}</span><span class="mainmenu"> [url=http://{u_search}/][img]http://img9.xooimage.com/files/i/c/icon_mini_search-36624.gif[/img][/url]{L_SEARCH} [url=http://{u_memberlist}/][img]http://img8.xooimage.com/files/i/c/icon_mini_members-36625.gif[/img][/url]{L_MEMBERLIST} [url=http://{u_group_cp}/][img]http://img8.xooimage.com/files/i/c/icon_mini_groups-36626.gif[/img][/url]{L_USERGROUPS}
                        <!-- BEGIN switch_user_logged_out -->
                        [url=http://{u_register}/][img]http://img5.xooimage.com/files/i/c/icon_mini_register-36627.gif[/img][/url]{L_REGISTER}</span>
                        <!-- END switch_user_logged_out -->

                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">[url=http://{u_profile}/][img]http://img4.xooimage.com/files/i/c/icon_mini_profile-36628.gif[/img][/url]{L_PROFILE} [url=http://{u_privatemsgs}/][img]http://img7.xooimage.com/files/i/c/icon_mini_message-36629.gif[/img][/url]{PRIVATE_MESSAGE_INFO} [url=http://{u_login_logout}/][img]http://img8.xooimage.com/files/i/c/icon_mini_login-3662a.gif[/img][/url]{L_LOGIN_LOGOUT}</span></td>
                    </tr>
                </table></td>
            </tr>
        </table>

         


Last edited by Cath-Prod on Tue 27 May 2008 - 21:18; edited 1 time in total
Author Message
lali


Offline
Guest




PostPosted: Tue 27 May 2008 - 19:52    Post subject: [Modification] Centrer le Logo Reply with quote

Bonsoir

Je souhaiterais mettre la bannière que j'ai faite au centre, enlever mon titre et mettre faq,membres mp etc... sous la bannière et centré.
Y aurais t'il quelqu'un pour m'aider car j'ai tout lu sans vraiment comprendre.
Mon théme est subautomnia


Author Message
Arlem2


Offline
Guest




PostPosted: Tue 27 May 2008 - 20:04    Post subject: [Modification] Centrer le Logo Reply with quote

Poste ton temlate Overall_header.Tpl ici, entre les balises de Code (<>).

Author Message
lali


Offline
Guest




PostPosted: Tue 27 May 2008 - 20:16    Post subject: [Modification] Centrer le Logo Reply with quote

je ne sais pas faire ça 

Author Message
lali


Offline
Guest




PostPosted: Tue 27 May 2008 - 21:06    Post subject: [Modification] Centrer le Logo Reply with quote

Voila j'ai trouvé

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><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></td>
                <td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<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 -->
                        </span></td>
                    </tr>
                    <tr>
                        <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&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>&nbsp;</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
Killer78


Offline
Guest




PostPosted: Tue 27 May 2008 - 21:14    Post subject: [Modification] Centrer le Logo Reply with quote

Hey hey hey ! Je vois ceci :

AniGunz : Communauté de AniGunz © 2008-2009
LA communauté de AniGunz et LE forum !

En haut de mon logo , ce n'est pas normal , HELP ME PLZ !


Author Message
lali


Offline
Guest




PostPosted: Tue 27 May 2008 - 22:58    Post subject: [Modification] Centrer le Logo Reply with quote

Bonsoir

Ne m'oubliez pas quand vous aurez un petit moment
Merci


Author Message
kostyks


Offline
Guest




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

Bonjour,

Lali, voici le code de ta template overall_header.tpl modifiée (suppression du titre et centrage de l'image créée). Fais une sauvegarde du template original avant toute intervention (ou travaille avec le thème de test) :

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;
                        <!-- END switch_user_logged_out -->
                        </span></td>
                    </tr>
                    <tr>
                        <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&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>&nbsp;</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>


*******

Killer 78 : Je ne vois pas le problème sur ton site.


Author Message
Cath-Prod


Offline
Guest




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

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
Contenu Sponsorisé





PostPosted: Today at 12:27    Post subject: [Modification] Centrer le Logo

Display posts from previous:   
Reply to topic Page 41 of 86 Goto page: <  1, 2, 340, 41, 4284, 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