- Posts: 160
- Thank you received: 2
Questions relatives à l'utilisation de cette version.
[Résolu] Background d'une table qui disparraît
17 years 1 week ago - 17 years 1 week ago #14383
by sbouloc
[Résolu] Background d'une table qui disparraît was created by sbouloc
Bonjour à tous
J'ai créé un module en pied de page pour représenter les sponsors d'une manifestation sportive. J'ai donc créé une table avec un background, puis inséré les sponsors dans la table pour pouvoir attribuer un lien url à chacun d'entre eux. Ce module est ensuite publié sur toutes les pages. Vous pouvez voir le module affiché correctement ici
Quand je navigue sur le site, ce module apparaît bien sur chaque page, mais sur certaines d'entre elles, le background n'est plus affiché, comme ici .
Le site:
Le code du module:
<table style="height: 75px; width: 840px;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr style="background: transparent url(images/site/footer/Bandeau980x75.png) repeat scroll 0% 0%;">
<td style="text-align: center;"><a target="_blank" href=" www.copf.pf "><img alt="logo-copf" src="images/stories/site/sponsors/logo-copf.gif" width="128" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.international-vaa.spaces.live.com/ "><img alt="logo-fiv" src="images/stories/site/sponsors/logo-fiv.gif" width="65" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.ftvaa.pf "><img alt="logo-FTV" src="images/stories/site/sponsors/logo-FTV.gif" width="46" height="55" /></a><br /></td>
<td style="text-align: center;"><img alt="logo-ijspf" src="images/stories/site/sponsors/logo-ijspf.gif" width="75" height="55" /><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.jeunesse.gov.pf "><img alt="logo-mjs" src="images/stories/site/sponsors/logo-mjs.gif" width="103" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.nautisport.pf/ "><img alt="logo-nautisport" src="images/stories/site/sponsors/logo-nautisport.gif" width="147" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.opt.pf "><img alt="Logo-opt" src="images/stories/site/sponsors/Logo-opt.gif" width="55" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.redbull.com "><img alt="logo-red-bull" src="images/stories/site/sponsors/logo-red-bull.gif" width="94" height="55" /></a><br /></td>
</tr>
</tbody>
</table>
Merci pour votre aide.
J'ai créé un module en pied de page pour représenter les sponsors d'une manifestation sportive. J'ai donc créé une table avec un background, puis inséré les sponsors dans la table pour pouvoir attribuer un lien url à chacun d'entre eux. Ce module est ensuite publié sur toutes les pages. Vous pouvez voir le module affiché correctement ici
Quand je navigue sur le site, ce module apparaît bien sur chaque page, mais sur certaines d'entre elles, le background n'est plus affiché, comme ici .
Le site:
-
Joomla 1.5.14
Joom!Fish 2.0.3
URLs explicites (SEF) Joomla
un .htaccess (initialement pour sh404SEF) à la racine du site qui contient l'instruction pour enclencher PHP5
Hébergement OVH
Le code du module:
Warning: Spoiler!
<table style="height: 75px; width: 840px;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr style="background: transparent url(images/site/footer/Bandeau980x75.png) repeat scroll 0% 0%;">
<td style="text-align: center;"><a target="_blank" href=" www.copf.pf "><img alt="logo-copf" src="images/stories/site/sponsors/logo-copf.gif" width="128" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.international-vaa.spaces.live.com/ "><img alt="logo-fiv" src="images/stories/site/sponsors/logo-fiv.gif" width="65" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.ftvaa.pf "><img alt="logo-FTV" src="images/stories/site/sponsors/logo-FTV.gif" width="46" height="55" /></a><br /></td>
<td style="text-align: center;"><img alt="logo-ijspf" src="images/stories/site/sponsors/logo-ijspf.gif" width="75" height="55" /><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.jeunesse.gov.pf "><img alt="logo-mjs" src="images/stories/site/sponsors/logo-mjs.gif" width="103" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.nautisport.pf/ "><img alt="logo-nautisport" src="images/stories/site/sponsors/logo-nautisport.gif" width="147" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.opt.pf "><img alt="Logo-opt" src="images/stories/site/sponsors/Logo-opt.gif" width="55" height="55" /></a><br /></td>
<td style="text-align: center;"><a target="_blank" href=" www.redbull.com "><img alt="logo-red-bull" src="images/stories/site/sponsors/logo-red-bull.gif" width="94" height="55" /></a><br /></td>
</tr>
</tbody>
</table>
Merci pour votre aide.
Last edit: 17 years 1 week ago by sbouloc.
Please Connectez-vous or Create an account to join the conversation.
17 years 1 week ago #14384
by lavsteph
Replied by lavsteph on topic Re:Background d'une table qui disparraît
Bonjour,
un de sujet que je préfère, les CSS
je rigole je crois que c'est plutôt une question d'url, pour preuve : www.tahiti-toavaa.com/fr/photo.html .
Reste que les css et moi ça fait deux.
un de sujet que je préfère, les CSS
je rigole je crois que c'est plutôt une question d'url, pour preuve : www.tahiti-toavaa.com/fr/photo.html .
Reste que les css et moi ça fait deux.
Please Connectez-vous or Create an account to join the conversation.
17 years 1 week ago - 17 years 1 week ago #14385
by sbouloc
Replied by sbouloc on topic Re:Background d'une table qui disparraît
Tu voulais peut etre pointer vers
www.tahiti-toavaa.com/photo.html ?
Effectivement, là l'image s'affiche :blink:
J'ai désactivé sh404SEF car j'avais des erreurs dans l'affichage du menu principal (problème notoire du couple Joom!Fish/sh404SEF) et n'utilise que la fonction native de joomla.
www.tahiti-toavaa.com/photo.html ?
Effectivement, là l'image s'affiche :blink:
J'ai désactivé sh404SEF car j'avais des erreurs dans l'affichage du menu principal (problème notoire du couple Joom!Fish/sh404SEF) et n'utilise que la fonction native de joomla.
Last edit: 17 years 1 week ago by sbouloc.
Please Connectez-vous or Create an account to join the conversation.
17 years 1 week ago #14386
by lavsteph
Replied by lavsteph on topic Re:Background d'une table qui disparraît
Non tu n'as pas fait d'erreur
le lien que tu fournis www.tahiti-toavaa.com/fr/galerie/photo.html
Tu modifies l'adresse en supprimant /galerie/ et hop l'image s'affiche donnant çà www.tahiti-toavaa.com/fr/photo.html .
Donc je pense qu'il faut voir au niveau des liens.
le lien que tu fournis www.tahiti-toavaa.com/fr/galerie/photo.html
Tu modifies l'adresse en supprimant /galerie/ et hop l'image s'affiche donnant çà www.tahiti-toavaa.com/fr/photo.html .
Donc je pense qu'il faut voir au niveau des liens.
Please Connectez-vous or Create an account to join the conversation.
17 years 1 week ago - 17 years 1 week ago #14387
by sbouloc
Replied by sbouloc on topic Re:Background d'une table qui disparraît
Last edit: 17 years 1 week ago by sbouloc.
Please Connectez-vous or Create an account to join the conversation.
17 years 1 week ago #14388
by lavsteph
Replied by lavsteph on topic Re:Background d'une table qui disparraît
Tu ne crois pas qu'il serait plus simple dans ton fichier CSS de faire appel à l'image via le dossier images du template.
Code:
background: url(/../images/Bandeau980x75.png)
Please Connectez-vous or Create an account to join the conversation.
Time to create page: 0.179 seconds

