Need-Design Posted February 27, 2014 Share Posted February 27, 2014 Bonjour, Comme vous pouvez le voir sur l'image ci dessous, j'ai un probleme d'affichage avec ma bannière Dans le global.css Dans la partie Header, j'ai ajouté : #banniere { background: transparent url('http://paniclope.fr/img/p/1/0/0/Banniere.jpg') no-repeat top left; float: left; height:150px; width: 100px; } #banniere a { text-decoration: none; display: block; height: 100%; width: 100%; Or, celle-ci ne s'affiche pas elle est tronqué par la page (comme on peut le voir) Dois-je implanter ce code dans une autre feuille de style ? Je voudrais que cette bannière soit en dessous de mon Menu horizontal et centré. Cordialement Link to comment Share on other sites More sharing options...
Szed Posted February 27, 2014 Share Posted February 27, 2014 Elle me semble surtout tronquée à cause du widht:100px que vous lui appliquez. Link to comment Share on other sites More sharing options...
Need-Design Posted February 27, 2014 Author Share Posted February 27, 2014 Dans ce cas, que puis-je faire ? Link to comment Share on other sites More sharing options...
Szed Posted February 27, 2014 Share Posted February 27, 2014 Commencé par enlever ce width:100px; Vous verrez déja mieux votre bannière et cela sera plus facile de la positionnez. Link to comment Share on other sites More sharing options...
Need-Design Posted February 27, 2014 Author Share Posted February 27, 2014 (edited) #header { position:relative } #header_right { position:relative; float: right } #banniere { background: transparent url('http://paniclope.fr/img/p/1/0/0/Banniere.jpg') no-repeat top left; float: left; height:150px; } #banniere a { text-decoration: none; display: block; height: 100%; J'ai toujours le même problème,j'ai enlevé le width. La bannière reste comme avant Edited February 27, 2014 by Darkam (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now