barre de naviguation arrondie et en haut

3 participants

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

Résolu barre de naviguation arrondie et en haut

Message par silvia2 Lun 4 Juil 2011 - 14:28

Bonjour I love you

Je fais appel à vous car j'aimerai trouver un code permettant de mettre la barre de navigation en haut (au dessus du header) et également qu'elle soit arrondie aux deux extrémités.
J'aimerai avec ce type de rendu si possible :

barre de naviguation arrondie et en haut 426830Sanstitre1

Au cas où cela serait utile, voici mon template overhall_header :

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB}>
<head>
   <!-- BEGIN meta_emulate_ie7 -->
   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   <!-- END meta_emulate_ie7 -->
   <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
   <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING};" />
   <meta http-equiv="content-script-type" content="text/javascript" />
   <meta http-equiv="content-style-type" content="text/css" />
   <!-- BEGIN switch_canonical_url -->
   <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
   <!-- END switch_canonical_url -->
   {META_FAVICO}
   {META}
   {META_FB_LIKE}
   <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
   {T_HEAD_STYLESHEET}
   {CSS}
   <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
   <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
   <script src="{JQUERY_PATH}" type="text/javascript"></script>
   <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>

   <!-- BEGIN switch_fb_login -->
   <script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
   <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
   <!-- END switch_fb_login -->

   <!-- BEGIN switch_ticker -->
   <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
   <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
   <!-- END switch_ticker -->

   <!-- BEGIN switch_ticker_new -->
   <script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
   <script type="text/javascript">//<![CDATA[
   /* Definir le sens de direction en fonction du panneau admin */
   var tickerDirParam = "{switch_ticker.DIRECTION}";
   var slid_vert = false;
   var auto_dir  = 'next';
   var h_perso = parseInt({switch_ticker.HEIGHT});

   switch( tickerDirParam )
   {
      case 'top' :
         slid_vert = true;
         break;

      case 'left':
         break;

      case 'bottom':
         slid_vert = true;
         auto_dir  = 'prev';
         break;

      case 'right':
         auto_dir  = 'prev';
         break;

      default:
         slid_vert = true;
   }

   $(document).ready(function() {
      var w_cont = $('#fa_ticker_container').width();

      if (w_cont > 0)
      {
         $('#fa_ticker_container').width(w_cont);

         /* Affichage de la liste */
         $('#fa_ticker_content').css('display','block');

         /* Calcul des dimensions du conteneur et des �l�ments */
         var width_max  = $('ul#fa_ticker_content').width();
         var width_item = Math.floor(width_max / {switch_ticker.SIZE});
         var height_max = h_perso;

         /* Calcul de la hauteur maximale du contenur en fonction des �l�ments et de la hauteur personnalis�e dans l'admin */
         $('ul#fa_ticker_content li').each( function () {
            if ($(this).height() > height_max)
            {
               height_max = $(this).height();
            }
         } );

         /* Redimensionnement des �l�ments et des images trop larges */
         $('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () {
            if ($(this).width() > width_item)
            {
            var ratio      = $(this).width() / width_item;
            var new_height = Math.round($(this).height() / ratio);
            $(this).height(new_height).width(width_item);
            }
         });

         /* Redimensionnement et centrage du conteneur en mode vertical */
         if (slid_vert)
         {
            $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
         }

         /* Initialisation du caroussel */
         $('#fa_ticker_content').jcarousel({
              vertical: slid_vert,
            wrap: 'circular',
             auto: {switch_ticker.STOP_TIME},
             auto_direction: auto_dir,
              scroll: 1,
              size: {switch_ticker.SIZE},
              height_max: height_max,
              animation: {switch_ticker.SPEED}
          });
       }
       else
       {
          $('ul#fa_ticker_content li:not(:first)').css('display','none');
          $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
       }
   });
   //]]>
   </script>
   <!-- END switch_ticker_new -->

   <script type="text/javascript">//<![CDATA[
   $(document).ready(function(){
      <!-- BEGIN switch_enable_pm_popup -->
         pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
         pm.focus();
      <!-- END switch_enable_pm_popup -->
      <!-- BEGIN switch_report_popup -->
         report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
         report.focus();
      <!-- END switch_report_popup -->
      <!-- BEGIN switch_ticker -->
         ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
      <!-- END switch_ticker -->
   });

   <!-- BEGIN switch_login_popup -->
      var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
   <!-- END switch_login_popup -->

   <!-- BEGIN switch_login_popup -->
   $(document).ready( function() {
      $(window).resize(function() {
         var windowWidth = document.documentElement.clientWidth;
          var popupWidth = $("#login_popup").width();
          var mypopup = $("#login_popup");

          $("#login_popup").css({
              "left": windowWidth/2 - popupWidth/2
           });
      });
   });
   <!-- END switch_login_popup -->
   //]]>
   </script>
   {GREETING_POPUP}
   <!-- BEGIN switch_ticker_new -->
   <style>
   .jcarousel-skin-tango .jcarousel-item {
       text-align:center;
       width: 10px;
   }

   .jcarousel-skin-tango .jcarousel-item-horizontal {
       margin-right: {switch_ticker.SPACING}px;
   }

   .jcarousel-skin-tango .jcarousel-item-vertical {
       margin-bottom: {switch_ticker.SPACING}px;
   }
   </style>
   <!-- END switch_ticker_new -->

   <!-- BEGIN google_analytics_code -->
   <script type="text/javascript">
   //<![CDATA[
     var _gaq = _gaq || [];
     _gaq.push(['_setAccount', '{G_ANALYTICS_ID}']);
     _gaq.push(['_trackPageview']);

     (function() {
       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
     })();
   //]]>
   </script>
   <!-- END google_analytics_code -->
</head>
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
  <!-- BEGIN hitskin_preview -->
   <div id="hitskin_preview" style="display: block;">
      <h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
      <div class="content">
         <p>
            {hitskin_preview.L_THEME_SITE_PREVIEW}
            

            <span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
         </p>
      </div>
   </div>
   <!-- END hitskin_preview -->

   <!-- BEGIN switch_login_popup -->
   <div id="login_popup">
      <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
         <tr height="25">
            <td class="catLeft">
               <span class="genmed module-title">{SITENAME}</span>
            </td>
         </tr>
         <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
            <td class="row1" align="left" valign="top">
               <div id="login_popup_buttons">
                  <form action="{S_LOGIN_ACTION}" method="get">
                     <input type="submit" class="mainoption" value="{L_LOGIN}" />
                     <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
                     <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
                  </form>
               </div>
               <span class="genmed">{LOGIN_POPUP_MSG}</span>
            </td>
         </tr>
      </table>
   </div>
   <!-- END switch_login_popup -->

   <a name="top"></a>
   {JAVASCRIPT}
   <table class="bodylinewidth" width="{T_BODY_TABLE_WIDTH}" cellspacing="0" cellpadding="10" border="0" align="center">
      <tr>
         <td class="bodyline">
            <table width="100%" cellspacing="0" cellpadding="0" border="0">
               <tr>
                  <!-- BEGIN switch_logo_left -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_left -->
                  <td align="center" width="100%" valign="middle">
                     <!-- BEGIN switch_logo_center -->
                     <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
                     

                     <!-- END switch_logo_center -->
                     <div class="maintitle">{MAIN_SITENAME}</div>
                     

                     <span class="gen">{SITE_DESCRIPTION}
  </span>
                  </td>
                  <!-- BEGIN switch_logo_right -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_right -->
               </tr>
            </table>

            <center>{GENERATED_NAV_BAR}</center>


            <div style="clear: both;"></div>

            <!-- BEGIN switch_ticker_new -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
               <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                     <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                           <ul id="fa_ticker_content"  class="jcarousel-skin-tango" style="display:none;">
                              <!-- BEGIN ticker_row -->
                              <li>{switch_ticker.ticker_row.ELEMENT}</li>
                              <!-- END ticker_row -->
                           </ul>
                        </div>
                     </td>
                  </tr>
               </table>
            </div>
            <!-- END switch_ticker_new -->

            <!-- BEGIN switch_ticker -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
               <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                     <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                           <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
                              <div class="fa_ticker_content">
                                 <!-- BEGIN ticker_row -->
                                 <div>{switch_ticker.ticker_row.ELEMENT}</div>
                                 <!-- END ticker_row -->
                              </div>
                           </div>
                        </div>
                     </td>
                  </tr>
               </table>
            </div>
            <!-- END switch_ticker -->

            <div id="page-body">
               <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                  <table cellpadding="0" cellspacing="0" width="100%" class="three-col">
                     <tbody>
                        <tr>
                           <td valign="top" width="{C1SIZE}">
                              <div id="{ID_LEFT}">
                                 <!-- BEGIN giefmod_index1 -->
                                 {giefmod_index1.MODVAR}
                                    <!-- BEGIN saut -->
                                    <div style="height:{SPACE_ROW}px"></div>
                                    <!-- END saut -->
                                 <!-- END giefmod_index1 -->
                              </div>
                           </td>
                           <td valign="top" width="100%">
<!-- BEGIN html_validation -->
                           </td>
                        </tr>
                     </tbody>
                  </table>
               </div>
            </div>
         </td>
      </tr>
   </table>
</body>
</html>
<!-- END html_validation -->

Ainsi que mon CSS :

Code:
.mainmenu img {display: none;}

.bodyline{
border-top: none;
border-bottom: none;
border-right:  4px #EFC998 solid;
border-left:  4px #EFC998 solid;
width: 80%;}
body {
margin: 0 auto;
}
    a:link {text-decoration: none;}

    a { text-decoration: none; }

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

textarea {color:#494949 ; background-color:#FAF0E7 ;}

/*-- reply_box_rond_corners by TSF®️--*/
/*--quickreply--*/
form#quick_reply textarea#text_editor_textarea {
-moz-border-radius:10px 10px 10px 10px;
-webkit-border-radius:10px 10px 10px 10px;
padding: 10px;
background-color: #E8D2A6;
}


/*--text_editor_iframe--*/
form#quick_reply iframe#text_editor_iframe  {
-moz-border-radius:10px 10px 10px 10px;
-webkit-border-radius:10px 10px 10px 10px;
padding: 10px;
background-color: #E8D2A6;
}

/*--text_editor_textarea--*/
textarea#text_editor_textarea {
-moz-border-radius:10px 10px 10px 10px;
-webkit-border-radius:10px 10px 10px 10px;
padding: 10px;
background-color: #E8D2A6;
}

/*--text_editor_iframe--*/
iframe#text_editor_iframe {
-moz-border-radius:10px 10px 10px 10px;
-webkit-border-radius:10px 10px 10px 10px;
padding: 10px;
background-color: #E8D2A6;
}
/*--EOF TSF®️--*/



.quote {border-style: none;
-moz-border-radius: 10px;
padding: 3px;
}

.code{border-style: none;
-moz-border-radius: 10px;
padding: 3px;
}


tr.post span.gensmall { display: none; }


a.forumlink {
text-decoration: none!important;
font-family : georgia;
font-weight: lighter;
font-size: 24px;
cursor: help;
width: 100%;
text-align: center;
display: inline-block;
color: #C97400;
}

a.forumlink:hover{
text-decoration: none!important;
font-size: 24px;
cursor: help;
text-align: center;
color: #D89200;
display: inline-block;
width: 100%;
border-bottom: 1px solid #CC2201;
}



.postbody {
text-align:justify !important;
padding-left: 25px;
padding-right: 25px;
display: block;
}

body {
text-align:justify;
margin-left: 10px;
}


.postbody { display: block; padding-left: 20px; padding-right: 20px;
text-align: justify;
 }

.pix
{border: none;opacity: 0.7;
background-color: transp;
padding:2px;
margin-top:2px;
margin-left:2px;
margin-right:2px;
border: 2px solid #808000;
-moz-border-radius: 5px;
}

.pix:hover
{border: none;opacity: 1;
background-color: transp;
padding:2px;
margin-top:2px;
margin-left:2px;
margin-right:2px;
border: 2px solid ;
-moz-border-radius: 5px;
}

i {color: #D49901;
}

strike {
border-bottom-style: none;
color: #D24A00;
border-bottom: 1px dotted #DDB14A;
text-decoration: none;
}

u {
border-bottom-style: none;
color: #AA8120;
font-style: italic;
text-decoration: none;
}

.misenforme
{
line-height: 12px;
}

a.imginfo {
  position: relative;
  color: #E5A811;
  text-decoration: none;
  border-bottom: 0px #E5A811 solid; /* on souligne le texte */
}

a.imginfo span {
  display: none; /* on masque l'infobulle */
}
a.imginfo:hover {
  background: none; /* correction d'un bug IE */
  z-index: 999; /* on définit une valeur pour l'ordre d'affichage */
  cursor: help; /* on change le curseur par défaut en curseur d'aide */
}
a.imginfo:hover span {
  display: inline; /* on affiche l'infobulle */
  position: absolute;
  white-space: nowrap; /* on change la valeur de la propriété white-space pour qu'il n'y ait pas de retour à la ligne non-désiré */
  top: 5px; /* on positionne notre infobulle */
  left: 5px;
  background: #FAF0E7;
  color: 7d7d7d;
  padding: 3px;
  font-size: 9px;
  font-family: tahoma;
  border: 0px solid grey;
  border-left: 2px solid #D47C01;
  border-right: 2px solid #D47C01;
  border-top: 2px solid #D47C01;
  border-bottom: 2px solid #D47C01;
}

p{font-size: 24px;
width: 100%;
text-transform : Uppercase;
font-weight: bold;
font-family: georgia;
color: #C66500;
text-decoration: none;
text-align: center;}


.forumline{
background-color: #ffffff;
-moz-border-radius: 0px 0px 14px 14px ;
border-bottom: 3px #eadace solid;
border-top: 3px #EFC998 SOLID;
border-right: 8px #EFC998 SOLID;
border-left: 8px #EFC998 SOLID;
}

.forumline{
-moz-border-radius:6px;
}

img.cadre
{padding:2px;margin:2px;
border: 2px SOLID #D57D02;
background-color:#F8D8B2;
opacity: 1;}

img.cadre:hover
{padding:2px;margin:2px;
border: 2px SOLID #D57D02;
background-color:#F8D8B2;
opacity: 0.9;}

r{width: 100%;
color: #DCAD41;
font-style: italic;
text-decoration: none;
}

t{width: 100%;
color: #E09603;
font-size: 24px;
text-transform : Uppercase;
font-weight: bold;
font-family: georgia;
text-decoration: none;
text-align: center;
}

t:hover{width: 100%;
color: #CF6F09;
font-size: 24px;
font-weight: bold;
font-family: georgia;
text-decoration: none;
text-align: center;
}

v{width: 100%;
color: #B9AC12;
border-bottom: 1px solid  #DFB84F;
font-size: 11px;
text-transform : Uppercase;
font-weight: bold;
font-family: arial;
text-decoration: none;
}

v:hover{width: 100%;
color: #D0C859;
text-transform : Uppercase;
border-bottom: 1px solid  #DFB84F;
cursor: help;
font-size: 11px;
font-weight: bold;
font-family: arial;
text-decoration: none;
}

j{width: 100%;
color: #DF9301;
font-size: 11px;
font-weight: bold;
font-family: arial;
text-decoration: none;
}

j:hover{width: 100%;
color: #E8C172;
font-size: 11px;
font-weight: bold;
font-family: arial;
text-decoration: none;
}


h{width: 100%;
color: #D3AE3B;
font-size: 18px;
font-weight: bold;
font-family: arial;
text-decoration: none;
}

h:hover{width: 100%;
color: #B89529;
font-size: 18px;
font-weight: bold;
font-family: arial;
text-decoration: none;
}

th {
font-weight: lighter;
font-size: 11px;
text-align: center;
text-transform : Uppercase;
}

.code{
font-family: Arial;
border-left: 4px solid #F8D8B2;
font-size: 12px;
color: #6D777C;
}

.quote{
font-family: Arial;
border-left: 4px solid #F8D8B2;
font-size: 12px;
color: #6D777C;
}

.code div { width: 425px !important; }

.groupes{
background-color:#faf0e6 ;
border: 1px color #faf0e6 ;
-moz-border-radius : 2px 2px 2px 2px;
height:30px;
padding-right: 8px;
padding-left: 8px;
padding-bottom:3px;
font-size:12px
;font-weight: bold;
text-align:center;
font-color : #ececec  ;
text-decoration: none !important;
}


img.yep
{padding:2px;margin:2px;
border: 2px SOLID #D27C01;
background-color:#Ffffff;
opacity: 1;}

img.yep:hover
{padding:2px;margin:2px;
border: 2px SOLID #D27C01;
background-color:#ffffff;}

.imgopa {
opacity: 0.6 ;
}

.imgopa:hover {
opacity: 1.2;
}

.lock  {
  position: relative;
  cursor: pointer;
}
.lock .lock-hidden {
  /* center */
  display: none;
  position: absolute;
  top: 0px;
  right: 0px;
  padding-left : 0px;
  padding-right : 0px;
  padding-top  : 0px;
  padding-bottom : 0px;
 
  /* style du bloc qui apparait */
  border: 0px solid #51738C;
  border-radius: 0px;
  background-color: transparent;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  text-align: center;
}
.lock:hover .lock-hidden {
  display: block;
}

.onglet
        {
                display:inline-block;
                position:left;
                margin-left:3px;
                margin-right:3px;
                padding:3px;
                border:3px solid #333333;
                -moz-border-radius-bottomleft:0px
                -moz-border-radius-bottomright:0px;
                -moz-border-radius-topleft:8px;
                -moz-border-radius-topright:8px;
                cursor:pointer;
        }
        .onglet_0
        {
                background:#111111;
                border:3px solid #222222;
                border-bottom:3px solid #222222;
        }
        .onglet_1
        {
                background:#111111;
                border:3px solid #444444;
                border-bottom:2px solid #111111;
                padding-bottom:4px;
        }
        .contenu_onglet
        {
                background-color:#000000;
                border:1px solid black;
                margin-top:-1px;
                padding:5px;
                display:none;
        }
        ul
        {
                margin-top:0px;
                margin-bottom:0px;
                margin-left:-10px
        }
        h1
        {
                margin:0px;
                padding:0px;
        }

.rightpart {
font-size : 12px ; /* grandeur du texte */
border-left : Xpx dotted #COLOR ; /*séparation du tableau de gauche et du tableau de droite par une ligne, peu être changé en DOTTED, SOLID, DOUBLE, etc */
padding-left : 10px } /*veuillez ne pas toucher à cette partie */

a.mainmenu {

font:10px arial;
color: #883700;
text-transform:uppercase;
padding-right: 1px;

}

a.mainmenu:hover {

font:10px arial;
color: #D58C01;
text-transform:uppercase;
padding-right: 1px;
}

.texte{
color: #ffffff;
background-color: #000000;
}

.navig {
position: center;
top: 20px;
width: 100%;
background-color: #000000;
border-top: 3px solid #a17a55;
border-bottom: 3px solid #a17a55;
}

/* LES FICHES DE PRESENTATIONS ET LES SCENARIOS */
.cadresujet {
background-color: #FDF7F2;
border: 1px solid #EDE689;
}

.titrefiche {
font-family: Times New Roman;
    font-size: 35px;
    font-style: italic;
    font-weight: bold;
color:#4F1B05;
    letter-spacing: -2px;
    text-shadow: 0 0 1px;
    text-transform: lowercase;
}

.titrefiche1 {
font-family: courier new;
font-size: 25px;
color:#6B3D0C;
letter-spacing: -2px;
text-shadow: 1px 1px 1px #E3E1DB;
text-transform: uppercase;
}

.margetexte {
 font-family: verdana;
 margin-left: 7px;
 margin-right: 7px;
 margin-top: 7px;
 margin-bottom: 7px;
 font-style: ;
color : #999999;
letter-spacing:0px;   
}

.pseudoavatar { 
font-family: Times New Roman;
    font-size: 20px;
    font-style: italic;
    font-weight: bold;
    letter-spacing: -2px;
    text-shadow: 0 0 1px;
    text-transform: lowercase;
}


/* PROFIL */
.profilentour {
padding:7px;
-moz-border-radius:10px;
background-color:xx;
border: 1px solid #151513;
}

.fondprofil {
padding:0px;
}

.fondprofil:hover {
padding:0px;
background-color:#EBD8AF;
border: 1px solid #D1BE97;
}

.postbody {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    text-align:justify;
}

Merci par avance à la personne qui pourra m'aider I love you


Dernière édition par silvia2 le Mar 5 Juil 2011 - 15:02, édité 1 fois
silvia2

silvia2
****

Féminin
Messages : 248
Inscrit(e) le : 03/06/2007

http://www.throwndice.com/
silvia2 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: barre de naviguation arrondie et en haut

Message par Scipion Lun 4 Juil 2011 - 14:37

Bonjour

Vous souhaitez déplacer la barre de navigation hors du cadre ou à l'intérieur de celui-ci ?

Pour information, voici le rendu que vous obtiendrez en la positionnant hors du cadre :

https://i.servimg.com/u/f23/11/73/76/86/photo11.png

Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: barre de naviguation arrondie et en haut

Message par silvia2 Lun 4 Juil 2011 - 19:38

En gros, j'aimerai qu'elle apparaisse au dessus du header, sur un fond blanc qui sois arrondi aux deux extrémités. Cela ressemble un peu à ce que vous me montrez sur l'image, mais je ne souhaite pas qu'il y ait deux barres qui encadrent les liens, et je préférerai que la barre de navigation soit arrondie à gauche et à droite (comme sur mon exemple) I love you
silvia2

silvia2
****

Féminin
Messages : 248
Inscrit(e) le : 03/06/2007

http://www.throwndice.com/
silvia2 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: barre de naviguation arrondie et en haut

Message par Scipion Lun 4 Juil 2011 - 23:45

Bonsoir

Veuillez tester svp votre template overall_header avec barre de navigation au dessus du header.

Notez bien que j'ai intégré le code nécessaire qui vous permet de modifier la position de la barre en allant sur PA >> Affichage >> Page d'accueil >> En-tête et Navigation >> En-tête des pages >>

Like a Star @ heaven Position du menu > (A gauche, Centré, A droite)

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB}>
<head>
  <!-- BEGIN meta_emulate_ie7 -->
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  <!-- END meta_emulate_ie7 -->
  <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
  <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING};" />
  <meta http-equiv="content-script-type" content="text/javascript" />
  <meta http-equiv="content-style-type" content="text/css" />
  <!-- BEGIN switch_canonical_url -->
  <link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
  <!-- END switch_canonical_url -->
  {META_FAVICO}
  {META}
  {META_FB_LIKE}
  <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
  {T_HEAD_STYLESHEET}
  {CSS}
  <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
  <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
  <script src="{JQUERY_PATH}" type="text/javascript"></script>
  <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
  <!-- BEGIN switch_fb_login -->
  <script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
  <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
  <!-- END switch_fb_login -->
  <!-- BEGIN switch_ticker -->
  <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
  <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
  <!-- END switch_ticker -->

  <!-- BEGIN switch_ticker_new -->
  <script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
  <script type="text/javascript">//<![CDATA[
  /* Definir le sens de direction en fonction du panneau admin */
  var tickerDirParam = "{switch_ticker.DIRECTION}";
  var slid_vert = false;
  var auto_dir  = 'next';
  var h_perso = parseInt({switch_ticker.HEIGHT});

  switch( tickerDirParam )
  {
      case 'top' :
        slid_vert = true;
        break;

      case 'left':
        break;

      case 'bottom':
        slid_vert = true;
        auto_dir  = 'prev';
        break;

      case 'right':
        auto_dir  = 'prev';
        break;

      default:
        slid_vert = true;
  }

  $(document).ready(function() {
      var w_cont = $('#fa_ticker_container').width();

      if (w_cont > 0)
      {
        $('#fa_ticker_container').width(w_cont);

        /* Affichage de la liste */
        $('#fa_ticker_content').css('display','block');

        /* Calcul des dimensions du conteneur et des �l�ments */
        var width_max  = $('ul#fa_ticker_content').width();
        var width_item = Math.floor(width_max / {switch_ticker.SIZE});
        var height_max = h_perso;

        /* Calcul de la hauteur maximale du contenur en fonction des �l�ments et de la hauteur personnalis�e dans l'admin */
        $('ul#fa_ticker_content li').each( function () {
            if ($(this).height() > height_max)
            {
              height_max = $(this).height();
            }
        } );

        /* Redimensionnement des �l�ments et des images trop larges */
        $('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () {
            if ($(this).width() > width_item)
            {
            var ratio      = $(this).width() / width_item;
            var new_height = Math.round($(this).height() / ratio);
            $(this).height(new_height).width(width_item);
            }
        });

        /* Redimensionnement et centrage du conteneur en mode vertical */
        if (slid_vert)
        {
            $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
        }

        /* Initialisation du caroussel */
        $('#fa_ticker_content').jcarousel({
              vertical: slid_vert,
            wrap: 'circular',
            auto: {switch_ticker.STOP_TIME},
            auto_direction: auto_dir,
              scroll: 1,
              size: {switch_ticker.SIZE},
              height_max: height_max,
              animation: {switch_ticker.SPEED}
          });
      }
      else
      {
          $('ul#fa_ticker_content li:not(:first)').css('display','none');
          $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
      }
  });
  //]]>
  </script>
  <!-- END switch_ticker_new -->

  <script type="text/javascript">//<![CDATA[
  $(document).ready(function(){
      <!-- BEGIN switch_enable_pm_popup -->
        pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
        pm.focus();
      <!-- END switch_enable_pm_popup -->
      <!-- BEGIN switch_report_popup -->
        report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
        report.focus();
      <!-- END switch_report_popup -->
      <!-- BEGIN switch_ticker -->
        ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
      <!-- END switch_ticker -->
  });

  <!-- BEGIN switch_login_popup -->
      var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
  <!-- END switch_login_popup -->

  <!-- BEGIN switch_login_popup -->
  $(document).ready( function() {
      $(window).resize(function() {
        var windowWidth = document.documentElement.clientWidth;
          var popupWidth = $("#login_popup").width();
          var mypopup = $("#login_popup");

          $("#login_popup").css({
              "left": windowWidth/2 - popupWidth/2
          });
      });
  });
  <!-- END switch_login_popup -->
  //]]>
  </script>
  {GREETING_POPUP}
  <!-- BEGIN switch_ticker_new -->
  <style>
  .jcarousel-skin-tango .jcarousel-item {
      text-align:center;
      width: 10px;
  }

  .jcarousel-skin-tango .jcarousel-item-horizontal {
      margin-right: {switch_ticker.SPACING}px;
  }

  .jcarousel-skin-tango .jcarousel-item-vertical {
      margin-bottom: {switch_ticker.SPACING}px;
  }
  </style>
  <!-- END switch_ticker_new -->

  <!-- BEGIN google_analytics_code -->
  <script type="text/javascript">
  //<![CDATA[
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', '{G_ANALYTICS_ID}']);
    _gaq.push(['_trackPageview']);

    (function() {
      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  //]]>
  </script>
  <!-- END google_analytics_code -->
</head>
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
  <!-- BEGIN hitskin_preview -->
  <div id="hitskin_preview" style="display: block;">
      <h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
      <div class="content">
        <p>
            {hitskin_preview.L_THEME_SITE_PREVIEW}
            <br />
            <span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
        </p>
      </div>
  </div>
  <!-- END hitskin_preview -->

  <!-- BEGIN switch_login_popup -->
  <div id="login_popup">
      <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
        <tr height="25">
            <td class="catLeft">
              <span class="genmed module-title">{SITENAME}</span>
            </td>
        </tr>
        <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
            <td class="row1" align="left" valign="top">
              <div id="login_popup_buttons">
                  <form action="{S_LOGIN_ACTION}" method="get">
                    <input type="submit" class="mainoption" value="{L_LOGIN}" />
                    <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
                    <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
                  </form>
              </div>
              <span class="genmed">{LOGIN_POPUP_MSG}</span>
            </td>
        </tr>
      </table>
  </div>
  <!-- END switch_login_popup -->
  <a name="top"></a>
  {JAVASCRIPT}
  <table class="bodylinewidth" width="{T_BODY_TABLE_WIDTH}" cellspacing="0" cellpadding="10" border="0" align="center">
      <tr>
        <td class="bodyline">
            <table width="100%" cellspacing="0" cellpadding="0" border="0">
              <tr>
                  <!-- BEGIN switch_logo_left -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_left -->
                  <td align="center" width="100%" valign="middle">

<div class="navig" align="{MENU_POSITION}">{GENERATED_NAV_BAR}</div>
                    <!-- BEGIN switch_logo_center -->
                    <a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
                    <br />
                    <!-- END switch_logo_center -->
                    <div class="maintitle">{MAIN_SITENAME}</div>
                    <br />
                    <span class="gen">{SITE_DESCRIPTION}<br />  </span>
                  </td>
                  <!-- BEGIN switch_logo_right -->
                  <td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
                  <!-- END switch_logo_right -->
              </tr>
            </table>

           


            <div style="clear: both;"></div>

            <!-- BEGIN switch_ticker_new -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                    <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                          <ul id="fa_ticker_content"  class="jcarousel-skin-tango" style="display:none;">
                              <!-- BEGIN ticker_row -->
                              <li>{switch_ticker.ticker_row.ELEMENT}</li>
                              <!-- END ticker_row -->
                          </ul>
                        </div>
                    </td>
                  </tr>
              </table>
            </div>
            <!-- END switch_ticker_new -->

            <!-- BEGIN switch_ticker -->
            <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
                  <tr>
                    <td {CLASS_TABLE_TYPE} align="left" class="row1">
                        <div id="fa_ticker_container">
                          <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
                              <div class="fa_ticker_content">
                                <!-- BEGIN ticker_row -->
                                <div>{switch_ticker.ticker_row.ELEMENT}</div>
                                <!-- END ticker_row -->
                              </div>
                          </div>
                        </div>
                    </td>
                  </tr>
              </table>
            </div>
            <!-- END switch_ticker -->

            <div id="page-body">
              <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
                  <table cellpadding="0" cellspacing="0" width="100%" class="three-col">
                    <tbody>
                        <tr>
                          <td valign="top" width="{C1SIZE}">
                              <div id="{ID_LEFT}">
                                <!-- BEGIN giefmod_index1 -->
                                {giefmod_index1.MODVAR}
                                    <!-- BEGIN saut -->
                                    <div style="height:{SPACE_ROW}px"></div>
                                    <!-- END saut -->
                                <!-- END giefmod_index1 -->
                              </div>
                          </td>
                          <td valign="top" width="100%">
<!-- BEGIN html_validation -->
                          </td>
                        </tr>
                    </tbody>
                  </table>
              </div>
            </div>
        </td>
      </tr>
  </table>
</body>
</html>
<!-- END html_validation -->
Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: barre de naviguation arrondie et en haut

Message par silvia2 Lun 4 Juil 2011 - 23:53

Et bien la barre de navigation est bien au dessus, donc de ce coté là ça fonctionne. I love you
Après, j'aimerai mieux qu'elle s'étende sur l'ensemble du forum et pas seulement sur la partie intérieure comme c'est le cas :

barre de naviguation arrondie et en haut 436178Sanstitre1

Mais sinon c'est très joli I love you
silvia2

silvia2
****

Féminin
Messages : 248
Inscrit(e) le : 03/06/2007

http://www.throwndice.com/
silvia2 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: barre de naviguation arrondie et en haut

Message par Scipion Mar 5 Juil 2011 - 0:20

Je pense que l'extension horizontale de la barre de navigation dépend de l'importance des éléments qui la composent. Ainsi, plus les éléments sont réduits (Accueil, Membres...) et plus la barre sera restreinte, inversement, plus elle comporte d'éléments et plus elle sera étendue. De ce côté, il n'y a plus rien à faire dans le template, désolé.

Sur un autre plan, pour obtenir des extrémités arrondies comme vous le souhaitez, il faudrait disposer d'images adaptées. Pour ce faire, vous pouvez passer une commande en ce sens auprès du service graphique FA, en utilisant le support suivant:

Générateur de commande graphique

Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: barre de naviguation arrondie et en haut

Message par Anzu Mar 5 Juil 2011 - 5:33


Bonjour,

Je vous invite à lire ce tuto => https://forum.forumactif.com/t301744-mettre-sa-barre-de-navigation-en-haut-du-forum
Pour les arrondis, un simple moz border radius devrait suffire Wink

Cordialement.




Scipion > le contenu n'a strictement rien à voir et ce n'est pas la peine de faire des images pour les arrondis, le tout est possible via le css. Smile
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: barre de naviguation arrondie et en haut

Message par silvia2 Mar 5 Juil 2011 - 15:01

J'ai finalement trouvé une solution grâce à la méthode d'Anzu I love you
Merci à tous.
Problème résolu Very Happy
silvia2

silvia2
****

Féminin
Messages : 248
Inscrit(e) le : 03/06/2007

http://www.throwndice.com/
silvia2 a été remercié(e) par l'auteur de ce sujet.

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

- Sujets similaires

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