Aide - Recherche - Membres - Calendrier
Version complète : {resolu]résolution d'écran
Forum osCommerce-fr > Adapter OsCommerce MS2 > Design
Elguebo
salut tout le monde bon j'ai toujour mon petit souci au niveau de la résolution d'écran pour mon site : http://www.lacitedarts.info
Oneil ma donc conseillé de coupé mon logo en trois partie.
bon ok, je coupe mon logo en trois, mes je doit changer koi au niveau de la programation pour que les trois soit cote à cote si par exemple je les nome logo 1 logo2 logo3
Elguebo
Oneil tu peut m'expliqué d'avantage la solution au niveau de la programmation
Sh4fT
C'est du html pur et dur !

au fait les ups sont interdits ( en gros reposter sur son propre post san squ'il n'y est eu de réponses )


voici une piste :


CODE
<tr class="header">
<td background='images/1.jpg'></td>
<td background='images/2.jpg'></td>
<td  background='images/3.jpg'></td>
</tr>
Elguebo
ok , merci pour ta reponse ;php
et se code je doit l'insérer dans quelle fichier header.php ??
après l'insertion des logo dans image
j"ai plus de logo du tout avec se code dans: header.php:

?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="header">
<td background='images/logo1.jpg'></td>
<td background='images/logo2.jpg'></td>
<td background='images/logo3.jpg'></td>
</tr>
</table>
Sh4fT
l'entete dans le header le pied de page dans le footer ect

la le code original
CODE
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr class="header">
    <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
    <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>&nbsp;&nbsp;</td>
  </tr>
</table>

la le code modifié
CODE
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr class="header">
<td background="images/logo1.jpg">&nbsp;</td>
<td><img src= "images/logo2.jpg">&nbsp;</td>
<td background="images/logo3.jpg">&nbsp;</td>
  </tr>
</table>
Elguebo
cela ne fonctionne pas ca donne ca : http://www.lacitedarts.info/

deplus j'ai remarqué que mon header.php originale n'est pas le meme: catalog/include/header.php

CODE
[/code]
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr class="header">
    <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'logo.gif', 'osCommerce') . '</a>'; ?></td>
    
  </tr>
</table>
[code]
Sh4fT
on va pas tout te faire non plus hein wink.gif il y a des largeurs ( width="largeur de ton image") a mettre enfin si tu a vraiment du mal je te conseil le site du zero


ca donnera genre :


CODE
      
<tr>
        <td width="13" height="100" rowspan="2" background="images/header2/header_01.gif" alt="ton alt">&nbsp; </td>
        <td rowspan="2" width="6" height="100"> <img src="images/header2/header_02.gif" alt="ton alt" width="5" height="100" border="0" ></td>
        <td rowspan="2" width="220" height="100"> <img src="images/header2/header_03.gif" alt="ton alt" width="220" height="100" border="0" ></td>
        <td height="14" colspan="7" bgcolor="3B6BAA"></td>
      </tr>


c'est ce que moi j'ai sur mon site en tout cas

fait un peu de recherche tu verra la solution est tres simple
Elguebo
ok bon j'ai compris un peu le système mais je comprend pas pourquoi le logo1 est normale et le 2 et 3 son réduit au niveau de la hauteur quel est la variable de la hauteur.

CODE
[/code]<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
        <td width="300" height="150" rowspan="50" background="images/logo1.jpg" alt="ton alt">  </td>
        <td rowspan="50" width="300" height="190"> <img src="images/logo2.jpg" alt="ton alt" width="800" height="150" border="0" ></td>
        <td rowspan="50" width="300" height="190"> <img src="images/logo3.jpg" alt="ton alt" width="310" height="150" border="0" ></td>
        <td height="150" colspan="2" bgcolor="3B6BAA"></td>
      </tr>
</table>[code]
Elguebo
ok merci j'ai réussi à me débrouiller avec ca
Ceci est une version "bas débit" de notre forum. Pour voir la version complète avec plus d'informations, la mise en page et les images, veuillez cliquer ici.
Invision Power Board © 2001-2024 Invision Power Services, Inc.