lulus
{ Membre }
Messages : 75
| Bonjour, j'ai beau avoir fouillé le forum et je n'est trouvé comment encadré le dernier message. Je vous fait une cap de ce que je veux faire précisément cela serra plus facile : (donc je voudrais qu'il y est une séparation entre les 2 et que le cadre soit en pointillé et les bord du cadre arrondis, et j'aimerais également modifier la couleur du fond des cadres) merci de votre aide | | |
|
Phantasmagoria
{ Membre hyper-actif }
Messages : 1636
| Bonjour ^^
Est ce que tu as suivis ce tuto?
Veux tu nous mettre ton code CSS s'il te plait pour pouvoir ajouter ce que tu veux Merci | | |
|
lulus
{ Membre }
Messages : 75
| Bonjour, oui oui je l'ai suivit, cependant mon forum est sous xooit et je sais pas du tout ou placer le code. Voici ma template (si je me trompe pas c'est bien celle ci): - Code:
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="{S_CONTENT_DIRECTION}"> <head> <script language="JavaScript"> var p_top=0 //hauteur debut du menu var p_left=0 //distance du bord var p_wth=210 //largeur var colorbg = "#B05667"; //couleur de fond var colorlien = "#F9EBE3"; //couleur du texte var colorsel = "#ECCEC1"; //couleur selection menutexte = new Array; menulien = new Array; menutarget = new Array; // MENU ....... menutexte[0]= 'LE FACEBOOK' menulien[0]= 'http://www.facebook.com/profile.php?id=100001276639095' menutarget[0]= '_blank' menutexte[1]= 'LE BLOG' menulien[1]= 'http://les-mysteres-de-lamour.skyrock.com/' menutarget[1]= '_blank' menutexte[2]= 'SITE OFFICIEL' menulien[2]= 'http://www.tmc.tv/les-mysteres-de-l-amour/' menutarget[2]= '_blank' menutexte[3]= 'SITE DE REFERENCE' menulien[3]= 'http://www.lesmysteresdelamour.fr/' menutarget[3]= '_blank'
// MENU ....... window.onload = pos_menu; document.write('<SPAN ID="menu" style="position:absolute;top:'+p_top+';left:'+p_left+';"><table bgcolor=''+colorbg+''" width="'+(screen.width-20)+'" border=1 bordercolorlight=''+colorbg+''" bordercolordark=#CCCCCC ><TR>') var a=0 while (a<menutexte.length) { document.write('<TD onMouseOut="this.style.background=''+colorbg+''" onMouseOver="this.style.background=''+colorsel+''" STYLE="cursor:hand"><div align="center"><FONT FACE="comic sans ms" SIZE=2><B><A HREF="'+menulien[a]+'" TARGET="'+menutarget[a]+'" STYLE="text-decoration:none;font-weight: bold;color:'+colorlien+'">'+menutexte[a]+'</A></B></FONT></div></TD>'); a++; } document.write('</TR></TABLE></SPAN>')
ie4=document.all ns6=document.getElementById&&!document.all ns4=document.layers function pos_menu() { if (ie4) {menu.style.pixelTop=document.body.scrollTop+p_top} else if (ns6) {document.getElementById("menu").style.top=window.pageYOffset+p_top} else if (ns4) {eval(document.menu.top=eval(window.pageYOffset+p_top));} if(ie4 || ns6 || ns4) setTimeout("pos_menu()",1); } //--> </script> <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/a/1/5/appalachia-24db0ad.css" type="text/css" --> <style type="text/css"> <!-- /* The original Appalachia Theme for phpBB version 2+ Created by Droshi Design by Kooky
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-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 { color : {T_BODY_LINK}; } a:hover { text-decoration: underline; 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-color: #FFFFFF; border: 2px double #EFE1D9; -moz-border-radius:12px; }
/* This is the outline round the main forum tables */ .forumline { background-color: #FFFFFF; border: 2px double #EFE1D9; -moz-border-radius:12px; }
/* 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://img9.xooimage.com/files/1/4/c/165-243a901-243c1b0.png); background-repeat: repeat-y; }
/* Header cells - the blue and silver gradient backgrounds */ th { color: #FFFFFF; font-size: {T_FONTSIZE2}px; font-weight : bold; background-color: {T_BODY_LINK}; height: 25px; background-image: url(http://img7.xooimage.com/files/d/d/c/1-243a9b0-243c1bc.png); }
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { background-image: url(http://img9.xooimage.com/files/f/9/2/165-243a901.png); 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: none; color : {T_BODY_LINK};} a.mainmenu:hover{ text-decoration: none; background-color : #ECCFC2; ; border: 2px double #ECCFC2; -moz-border-radius:12px; }
/* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; 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{ background-color: #EFE1D9; display: block; font-style: italic; text-decoration: none; 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 : {T_TD_COLOR2}; }
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-31188.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 --> </head> <body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}"> <a name="top"></a> <table class="bodyline" width="760" cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <td height="85"><a href="{U_INDEX}"><img src=http://img9.xooimage.com/files/3/e/d/lmdla-243a697.png border="0" /></td> </tr> </table> <table width="760" border="0" cellspacing="0" cellpadding="0" align="center" background="http://img9.xooimage.com/files/f/b/f/1-243a9b0.png" /> <tr> <td height="28" align="center" nowrap="nowrap"><span class="mainmenu" style="color:#FFFFFF"> <a href="{U_INDEX}" class="mainmenu"><font color=#FFFFFF>Index<font></a> - <a href="{U_FAQ}" class="mainmenu"><font color=#FFFFFF>{L_FAQ}</font></a> - <a href="{U_SEARCH}" class="mainmenu"><font color=#FFFFFF>{L_SEARCH}</font></a> - <a href="{U_MEMBERLIST}" class="mainmenu"><font color=#FFFFFF>Membres</font></a> - <a href="{U_GROUP_CP}" class="mainmenu"><font color=#FFFFFF>Groupes</font></a> - <!-- BEGIN switch_user_logged_out --> <a href="{U_REGISTER}" class="mainmenu"><font color=#FFFFFF>{L_REGISTER}</span></a> - <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> <a href="{U_PROFILE}" class="mainmenu"><font color=#FFFFFF>{L_PROFILE}</span></a> - <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <a href="{U_PRIVATEMSGS}" class="mainmenu"><font color=#FFFFFF>Messages Privés</span></a> - <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> <a href="{U_PRIVATEMSGS}" class="mainmenu"><font color=#FFFFFF>{PRIVATE_MESSAGE_INFO}</span></a> - <!-- END switch_user_logged_in --> <!-- BEGIN switch_user_logged_out --> <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><font color=#FFFFFF>{L_LOGIN_LOGOUT}</span></a> <!-- END switch_user_logged_out --> <!-- BEGIN switch_user_logged_in --> <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><font color=#FFFFFF>{L_LOGIN_LOGOUT}</span></a> <!-- END switch_user_logged_in --> </span> </td> </tr> </table> <table width="760" cellspacing="0" cellpadding="10" border="0" align="center"> <tr> <td class="bodyline"> merci de ton aide | | |
|
lulus
{ Membre }
Messages : 75
| désolé du double post mais le dernier message à disparu :/ comparé par vous même : ma template : - Code:
-
<!-- BEGIN forumrow --> <tr> <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td> <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /> </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /> </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td> <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall"><div class="sujets_messages">Messages : {catrow.forumrow.POSTS} | Sujets : {catrow.forumrow.TOPICS}</div> <div class="derniers_sujets">{catrow.forumrow.LAST_POST}</div></span></td> </tr> <!-- END forumrow --> </table> <br class="nav" /> <!-- END catrow --> | | |
|
Fire-Fly
{ Membre actif }
Messages : 429
| Bonjour! Pardon si je m'incruste, ça fait déjà un bout que je la suis durant sa personnalisation de forum sur xooit! Bon, alors. Son CSS sur le forum est un peu amibuë, donc le mieux je crois serait qu'elle encadre carrément ses code avec des div et des style. Lulus, essai ça: - Code:
-
<div style="border: 3px solid #000000; -moz-border-radius:3px; -webkit-border-radius:3px;">Messages : {catrow.forumrow.POSTS} | Sujets : {catrow.forumrow.TOPICS}</div> <div style="border: 3px solid #000000; -moz-border-radius:3px; -webkit-border-radius:3px;">{catrow.forumrow.LAST_POST}</div>
Tu n'as qu'a mettre ça à la place d'où c'est dans ton template, en théorie ça devrait marcher! Bonne journée | | |
|
lulus
{ Membre }
Messages : 75
| ahhh super, je te remercie. Ça marche parfaitement | | |
|
Murtagh
{ Modérateur }
Messages : 1492
| Bonjour, Lorsqu'un problème est résolu, merci de bien vouloir cocher en éditant votre premier poste l'icône afin de faciliter le travail de la modération. Je déplace. A bientôt ! | | |
|