Newsletter
Liste des sujets

[HTML] Problème menu déroulant

reobinho
reobinho
Niveau 10
17 janvier 2013 à 11:55:16

Bonjour à tous , je fais un site web pour ma team :(

Et j'ai un petit problème

j'ai decidé de faire un menu en html via un logiciel CSS3 MENU3
Une fois fini j'ai uploadé le fichier style.css a la racine de mon site et changé la destination dans le code html :(

Bref , j'aimerais centrer mon menu et qu'il ne déforme pas tout le site , je l'ai mis sur fond noir , mais quand je met un autre fond qui ne se confond pas avec celui du site la couleur du menu prends les 3/4 du site , comment faire pour le restreindre à gauche ?

http://managix-united.p.ht/

Le code actuel :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="ltr">
<head>
<meta http-equiv="content-type"
content="text/html; charset=utf-8">
<!-- Start css3menu.com HEAD section -->
<link rel="stylesheet" href="style.css"
type="text/css">
<style>._css3m{display:none}</style><!-- End css3menu.com HEAD section -->
</head>
<body
style="background-color: rgb(0, 0, 0); color: rgb(0, 0, 0); width: 173px;"
alink="#ee0000" link="#0000ee" vlink="#551a8b">
<div style="text-align: center;"><!-- Start css3menu.com BODY section -->
</div>
<ul style="text-align: center;" id="css3menu1"
class="topmenu">
<li class="topfirst"><a
href="http://managix-united.p.ht/index.php" title="Accueil"
style="width: 127px;">Accueil</a></li>
<li class="topmenu"><a href="#"
style="width: 127px;"><span>Communauté</span></a>
<ul>
<li class="subfirst"><a
href="http://managix-united.p.ht/index.php?file=Fo
rum"

title="Forum">Forum</a></li>
<li><a href="http://www.youtube.com/user/MUnited2013"
title="Youtube">Chaîne Youtube</a></li>
<li><a
href="http://www.jeuxvideo.com/forums/1-29602-9581
6-1-0-1-0-360-managix-united-sur-cod-et-fifa.htm">
Topic

Forum FM</a></li>
</ul>
</li>
<li class="topmenu"><a href="#"
style="width: 127px;"><span>Téléchargements</span></a>
<ul>
<li class="subfirst"><a
href="http://managix-united.p.ht/index.php?file=Do
wnload&op=categorie&cat=2">Outils</a></li>

<li><a
href="http://managix-united.p.ht/index.php?file=Do
wnload&op=categorie&cat=1">Football

Manager</a></li>
</ul>
</li>
<li class="topmenu"><a href="#"
style="width: 127px;"><span>Le Club</span></a>
<ul>
<li class="subfirst"><a href="#">Présentation
Club COD</a></li>
<li><a
href="http://managix-united.p.ht/index.php?file=Se
ctions&op=article&artid=1">Présentation

Club FIFA</a></li>
<li><a
href="http://www.eafootballworld.com/fr_FR/clubs/3
92A0001/393189/members">Classement

Fifa</a></li>
</ul>
</li>
<li class="topmenu"><a href="#"
style="width: 127px;">Managix Tournaments</a></li>
<li class="toplast"><a href="#"
style="width: 127px;"><span>Compte</span></a>
<ul>
<li class="subfirst"><a
href="http://managix-united.p.ht/index.php?file=Us
er">Membre</a></li>

</ul>
</li>
</ul>
<p style="text-align: center;" class="_css3m"><a
href="http://css3menu.com/">How
To Make CSS Buttons Css3Menu.com</a></p>
<div style="text-align: center;"><!-- End css3menu.com BODY section -->
</div>
</body>
</html>

Merci à vous :)

reobinho
reobinho
Niveau 10
17 janvier 2013 à 12:03:40

ou cela vient peut etre du style.css ?

http://textup.fr/41005tI

reobinho
reobinho
Niveau 10
17 janvier 2013 à 15:44:38

j'ai reussi a supprimer l'arriere plan ( j avaispas vu le "background" dans le code ) mais par contre comment le centrer quoi :snif: ?

reobinho
reobinho
Niveau 10
17 janvier 2013 à 17:21:52

Bon j'ai decidé de changer de thème c'est mieux comme ca :(

Merci quand meme

Topic a lock :ok:

Sous forums
  • Aide à l'achat Mac
  • Internet
  • Macintosh
  • Création de sites web
  • Création de Jeux
  • Linux
  • Programmation
  • Steam Deck
  • Hardware