RECHERCHER :
COMMUNAUTE MP
Identifiez vous ...
Devenir Membre
J'ai oublié mon MDP
DOMAINE MP
Bavardages
Langages Généraux
Langages Web
Langages DotNet
Autres langages
Dev. Jeux Video
Sécurité
Sys. Exploitation
Graphismes
Logiciels
Réseaux
Bases de données
Méthodologies
Emplois High-tech
Aide juridique
Articles juridiques
FORUM
Index des forums
Ajouter un sujet
Rechercher sujet
Contact Responsable
Devenir modérateur
CHAT MP IRC
Votre pseudo ...
Serv: irc.irc-land.org
Chan: #MoteurProg
PARTICIPER
Plus de 3500 emplois.
Rechercher un job
Déposez votre CV
Emplois High-tech

Visiteur MP

 Conflits entre menu et thème CSS

Forum : XHTML/CSS
Sous Catégorie : Aucune
Type du sujet : Sujet Normale
FAQ : FAQ XHTML/CSS

SUIVI DES SUJETS PAR MAIL

SUIVI PAR MAIL INACTIF

RESOLUTION DU SUJET SUJET NON RESOLU
BLOQUAGE DU SUJET SUJET BLOQUER
APPARTENANCE A LA FAQ N'APPARTIENT PAS A LA FAQ


PAGE : [1]

POSTER UN NOUVEAU SUJET REPONDRE A CE SUJET

FORUM XHTML/CSS

PREMIERE PAGE

PAGE PRECEDENTE

Page précedente

Page suivante

PAGE SUIVANTE

DERNIERE PAGE
uZi
Nouveau membre
Inscrit : 16/10/2006
Messages : 5
Message
#112676
Posté le 16/10/06 à 00:43
Bonjour à tous,

Je suis nouveau avec CSS, et jusqu'à présent ca allait bien, jusqu'à cet apres midi Smiley
j'utilise wordpress, et pour customiser mon thème j'ai créer un menu horizontal : http://uzi.jupiterii.com/testmenu_v2/htmlv2.html

j'en suis content, par contre, il est impossible de l'intégrer dans le fichier css de mon thème, rien ne va plus sinon : le menu déroulant fait décaler vers le bas le contenu, les images de fonds (rollovers) ne marchent pas, j'ai des marges qui apparaissent à droite et à gauche.... Je croyais vraiment qu'une fois que le menu fait y'aurait plus qu'à le coller, mais loin de là et je ne sais plus que faire de tous ces problèmes d'intégration.

Pourriez vous me dire ce qui ne va selon. Toute aide sera VRAIMENT VRAIMENT trèsss apprécié :Hola:

body { margin: 0; padding: 0; background: #262626; } * {margin: 0; padding: 0; border: 0px none; font-family: "Trebuchet MS", Arial, sans-serif } /*------------Basic styles------------*/ h1, h2, h3, span#copyright, span#design { margin: 0 10px; color: #fff; font-weight: normal; text-decoration: none; background: transparent } p { margin: 0 0 1em; padding: 0; line-height: 1.4em; font-size: 0.8em; } /*p { font-size: 0.8em; line-height: 1.4em; text-align: justify }*/ h1 { font-size: 1.3em; line-height: 1.4em; letter-spacing: 0.25em } /* site heading */ h2 { font-size: 1.0em; line-height: 1.4em; color: #FFA000 } /* site heading */ h3 { font-size: 0.8em; line-height: 1.4em; color: #FFA000 } /* sub headings */ span#copyright { font-size: 13px; line-height: 35px } /* sets the copyright styles */ span#design { float: right; font-size: 13px; line-height: 35px } /* floats the design link into position */ span.validation { float: right; margin-right: 10px; } /* floats the validation buttons */ .validation img { margin: 0; } /* floats the validation buttons */ div { padding: 10px 0;} #hdrimg a {color: #06FF00; text-decoration: none; font-weight: normal;} #hdrimg a strong {color: #fff; text-decoration: none; font-weight: normal;} #hdrimg a:hover {color: #fff; text-decoration: none; font-weight: normal;} #hdrimg a:hover strong {color: #06FF00; text-decoration: none; font-weight: normal;} /*-------------Layout----------------*/ #hdrimg { /* Large image */ float: left; width: 100%; margin-bottom: 5px; background: url('images/hdr.gif') repeat-x; height: 170px; /* ie5x hack begins here */ voice-family: "\"}\""; voice-family: inherit; height: 150px; } html>body #hdrimg { height: 150px; /* ie5x hack ends here */ } .rowcontainer { /* Used to keep the divs in a row. you can use this for any size of divs */ float: left; margin-bottom: 5px; width: 100%; overflow: hidden; background: #333; } #bttmbar { float: left; width: 100%; height: 35px; background: url('images/hdr.gif') bottom repeat-x } /* Bottom copyright bar */ /*------Columns: Note they dont add up to 100%, this is intentional to avoid problems!----------*/ .fullcolumn { float: left; width: 99%;} /* Full width column for a one column site */ .halfcolumn { float: left; width: 49%;} /* Half width column for a two column site. */ .onethirdcolumn { float: left; width: 33%; } /* One third width column for a three column site */ .quartercolumn { float: left; width: 24.5% } /* One quarter width column for a four column site */ .threequartercolumn { float: left; width: 74.5% } .twocolumn { float: left; width: 20% } .sixcolumn { float: left; width: 59% } /*------------------------------Main Navigation------------------------------------------*/ #nav { position: absolute; top: 145px; left: 0px; height: 25px; width: 100% } ul#nav { margin: 0 } #nav li /* Main nav list items */ { font-size: 13px; float: left; list-style: none; text-align: center } #nav li a { /* Main nav styles for all links */ display: block; /* Although display:block suggests a vertical list the float:left property under #nav li causes the menu to float inline */ margin-left: 5px; /* adds a gap between the tabs */ width: 90px; /* width of the tab */ line-height: 25px; /* height of the tab */ text-decoration: none; } #nav a:link, #nav a:visited { background: url('images/tab.gif') no-repeat 0 -25px } #nav a:hover, #nav a:active { background: url('images/tab.gif') no-repeat 0 0 } #nav a#current { background: url('images/tab.gif') no-repeat 0 0 } /*-----------------------------------Other tags-----------------------------------------*/ acronym { border-bottom: 1px dashed #999; cursor: help } blockquote { border-top: 2px solid #FFA000; border-bottom: 2px solid #FFA000; margin-left: 1.5em; padding-left: 5px; background-color: #333333} /* lists */ ul { margin: 5px 0 5px 35px; list-style: url('images/bull.gif') } ol { margin: 5px 0 5px 35px; list-style: decimal } ol li, ul li { color: #fff; font-size: 0.8em; line-height: 1.4em } hr { margin: 10px 0px; height: 1px; background: #444; color: #444 } /* rule styling */ img {margin: 0 10px} /* all images styling */ img.right {float: right} /* right floating images */ img.left {float: left} /* left floating images */ /*-------------------------------------------------------------------------------*/ /* Modification done to basic theme */ /* Added */ #searchdiv { margin-bottom: 10px; margin-left: 5px; } h4, h5, h6 { font-family: "Georgia", "Times New Roman", Times, serif; font-weight: normal; } a, a:visited { font-weight: bold; color: #fff; text-decoration: none; } a:hover { text-decoration: underline; } /*font: bold 20px/1.1em "Trebuchet MS", "Verdana", sans-serif; }*/ h3.entrytitle { padding: 0; margin-bottom: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 20px; line-height: 1.1em; } h3.entrytitle a, h3.entrytitle a:visited { color: #FFA200; text-decoration: none; } h3.entrytitle a:hover{ color: #FFA200; text-decoration: underline; } h3 a { text-decoration: none; border: 0px none; color: #FFA200; } div .entrybody h3, div .entrybody h2{ margin-bottom:10px; color:#B37100; } h3 a:hover { text-decoration: none; border: 0px none; text-shadow: none; color: #333; } .entry{ background-color: #2E3233; border: 1px solid #3e4243; padding: 10px; margin-bottom:15px; color:#FFFFFF; } .arc { border: 1px solid #3e4243; background-color:#2E3233; padding:10px; color:#FFFFFF; margin-bottom:15px; } .entrymeta { font-size: 11px; margin-bottom: 15px; color:#FFFFFF; } .entry ul, .entry ol{ margin-left:30px; list-style:disc; margin-top:10px; margin-bottom:10px; } .entry ul li, .entry ol li { padding-top:5px; line-height:1.5em; } /* Sidebar styling*/ #sidebar { margin-top: 0px; margin-right: 5px; margin-bottom: 10px; margin-left: 5px; background-color: #2E3233; padding:5px; color:#dddddd; border: 1px solid #3e4243; } #sidebar h2 { font-weight: bold; text-transform: uppercase; color: #dddddd; font-size: 110%; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #555; margin-bottom: 10px; } #sidebar p{ margin: 7px; color:#999999; line-height: 1.4em; } #sidebar a, #sidebar a:visited { color:#ffa200; text-decoration:none; } #sidebar a:hover { color:#ffa200; text-decoration:underline; } #sidebar ul li { list-style-type: none; list-style-image: url('none'); margin-bottom: 15px; margin-left: 10px } #sidebar ul p, #sidebar ul select { margin: 5px 0 8px; } #sidebar ul ul, #sidebar ul ol { margin: 5px 0 0 10px; } #sidebar ul ul ul, #sidebar ul ol { margin: 0 0 0 10px; } ol li, #sidebar ul ol li { list-style: decimal outside; } #sidebar ul ul li, #sidebar ul ol li { margin-top: 3px; margin-right: 0em; margin-bottom: 0em; margin-left: 0.5em; padding-top: 0.1em; padding-right: 0; padding-bottom: 0.1em; padding-left: 0; list-style-type: none; list-style-position: outside; list-style-image: url('images/bull.gif'); }

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

Publicité
Inscrit : X
Messages : X
Message
#Aucun

HAUT DE PAGE

  

uZi
Nouveau membre
Inscrit : 16/10/2006
Messages : 5
Message
#112729
Posté le 16/10/06 à 17:48
Bon, on reprend, ces lignes de codes ont certainement dues vous faire peur :D

Ce qui se passe c'est que je voudrais modifier le css de mon thème original:
Image

J'ai donc fait un menu (http://uzi.jupiterii.com/testmenu_v2/htmlv4.html), mais je n'arrive pas à l'intégrer dans mon site, juste dessous le header.

Comme vous pouvez le voir sur ce lien : http://uzi.jupiterii.com, pas mal d'élément entre conflit : le header a disparu, le footer (qui a la meme background image) aussi, et je ne comprend pas pourquoi mon menu est haut perché.

Avez vous une idée?, c'est peut etre une propriété d'un conteneur qui ne va pas ou une position, mais je n'arrive pas à trouver
Merci à tous :D !

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

uZi
Nouveau membre
Inscrit : 16/10/2006
Messages : 5
Message
#112781
Posté le 17/10/06 à 00:37
Update ! : j'ai pu résoudre pas mal de trucs. Il me reste plus qu'à aligner le texte sur la bar de menu. Vous avez une idée ?

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

uZi
Nouveau membre
Inscrit : 16/10/2006
Messages : 5
Message
#112783
Posté le 17/10/06 à 01:12
Résoluuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu!

Merci à tous :D

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

pistache
Superviseur :
- CSharp (C#)
Modérateur :
- VB .NET
- XAML
Chef de projet(s) :
- Image Data base
- Titan

Avatar de pistache
Inscrit : 22/02/2005
Messages : 1254
Message
#149579
Posté le 24/02/08 à 16:16
Zut un bot poste de la pub sur le forum (le dernier post de "Anthony").

Quand à toi Uzi, désolé j'ai pas eu le temps de passer ce matin donc j'ai pas pu regarder ce matin.

Sinon ton site est trés bien, ya juste un peu de pub dans la shoutbox, ton anglais est parfait ^^.

Ya juste un souci pour les votes : noir sur gris foncé c'est dur à voir Smiley

Sinon à part ça c'est bien ^^.

€dit : le post de pub à été supprimé
__________________________
Prière de ne pas oublier le magnifique tag Image (résolu) si votre sujet l'est !

Pistaaaaaaaaaaache

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

ReaM
Superviseur :
- Java
Avatar de ReaM
Inscrit : 24/02/2005
Messages : 723
Message
#150369
Posté le 12/03/08 à 10:55
Très joli site , le seul hic , c'est le fond noir et l'écriture gris , sur un écran très peu contrasté c'est pas évident à lire.
__________________________
Image
La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi. Ici, nous avons réuni théorie et pratique : rien ne fonctionne et personne ne sait pourquoi...

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 
POSTER UN NOUVEAU SUJET REPONDRE A CE SUJET

PREMIERE PAGE

PAGE PRECEDENTE Page précédente

Page suivante

PAGE SUIVANTE DERNIERE PAGE

FORUM XHTML/CSS



    PAGE : [1]



.: Site Web développé par Julien Pichot et l'équipe MPWG avec www.evolvia-web.com :.