r88
Membre récent

Hors-Ligne
Sexe: 
Messages: 38

|
Bonjour,
J'utilise un script pour afficher des bannieres aléatoirement :
Fonction : <?php include('banniere-aleatoire.inc.php'); ?> pour inserer sur la page
et le fichier : banniere-aleatoire.inc.php :
<?php
$tabBannieres = array( 1 => array('http://www.xxx.fr','http://www.xxxxx/publicite1.gif',), 2 => array('http://www.xxx.fr','http://www.xxxxx/publicite1.gif',), 3 => array('http://www.xxx.fr','http://www.xxxxx/publicite1.gif',), ); /**************************************************** Détermination de la banniere à afficher *****************************************************/ $choix = 1; $choix = array_rand($tabBannieres, 1); /**************************************************** Affichage des bannieres *****************************************************/ echo '<a href="', $tabBannieres[$choix] ,'" title="', $tabBannieres[$choix][2] ,'">'; echo '<img src="', $tabBannieres[$choix][1] ,'" alt="', $tabBannieres[$choix][2] ,'" />'; echo '</a>'; ?>
Mon probleme est que les bannieres affichées sont entourés d'une bordure. Comment supprimer cette bordure ?
MERCI d'avance pour vos conseils, |