Image de bannière toujours en bas - HTML/CSS - Programmation
Marsh Posté le 14-06-2010 à 21:00:13
Salut.
"l'image est touchetest.overblog.com" : que veux-tu dire ?!!!
Marsh Posté le 14-06-2010 à 23:47:18
Que c'était ça l'image (un texte) mais j'ai trouvé le problème la solution était dans entete en jouant sur les padding! merci quand mm!
Marsh Posté le 15-06-2010 à 13:01:44
Tu t'avances un peu car la bannière overblog vient décaler ton image d'en-tête.
Il faut que tu joues sur un padding-top ou un margin-top qq part (au niveau de cet en-tête sans doute mais rien de sûr...)
Marsh Posté le 13-06-2010 à 11:11:47
Salut!
Voilà j'ai inséré une bannière sur mon blog et après avoir chercher dans le css et avoir trifouiller un peu tout je n'arrive pas à mettre mon image en position haute
ici http://testtouche.over-blog.com/# (l'image est touchetest.overblog.com)
Je vous montre mon css si quelqu'un voit ou peut se trouver le problème. (ou plutot la solution), merci d'avance.
#global {width: 950px; background-color: transparent; margin: 0 auto 20px;}
#cl_0_0 {margin: 0; padding: 0; width: 100%;}
#ln_1 {}
#cl_1_0 {float: left; width: 600px; margin: 0; margin-right: 20px; padding: 15px 5px 0 5px;}
#cl_1_1 {float: left; width: 310px; padding: 15px 0 0 0; margin: 0 5px;}
#cl_1_0 ul {padding-left: 10px; /margin-left: 0;}
#cl_2_0 {/line-height: 15px;}
.GcheTexte{float:left; margin:3px;}
.DrteTexte{float:right; margin:3px;}
.CtreTexte{margin:3px auto; display:block;}
.hitcitation {font-style:italic;text-align:justify;padding:5px 20px;background-color:#eee;}
.hitencart {border:1px solid black;text-align:justify;font-weight:bold;margin:5px 0px;padding:5px 5px;}
.hitimportant {font-weight:bold;color:red;font-weight:bold;font-size:120%;}
.hitperso1 {font-style:italic;}
.hitperso2 {font-weight:bold;}
#header {min-height: 150px; margin-bottom: 0; border-bottom: 5px solid #fff;}
/*----------------------------------------------------------------------------*/
/* Variation */
/*----------------------------------------------------------------------------*/
body {margin:0px; padding:0px; background: url(http://fdata.over-blog.net/99/00/00/01/designs/395/default/pics/body.jpg) repeat-x; background-color: #ffffff; font-family: 'Arial', Verdana, Helvetica; font-size: 12px; color:#B0B0B0; line-height: 18px;}
h1 {color: #CCCCCC; font-size: 20px;}
h2 {color: #CCCCCC; font-size: 15px;}
h3 {color: #CCCCCC; font-size: 12px;}
a {text-decoration: underline; color:#29A0C8; font-size:100%;}
a:hover {text-decoration: none; color:#29A0C8;}
legend {color:#CCCCCC; padding-left:5px; padding-right:5px;}
li {list-style-type:none;}
img {border:0px none;}
input {border:solid 1px #dedede; font-size:100%; background-color:#FFF; color:#000000; height: 18px;}
/* ------------------entete ---------------------*/
#top {padding:0px; color:#8E8C8D; font-size: 12px; text-align: left; padding-top: 50px; padding-left: 20px; text-transform: uppercase; font-weight: normal; font-style: normal; line-height: 23px; /line-height: 25px;}
#top h1 {padding:0px; margin:0px; color:#8E8C8D;}
.topLien {text-decoration:none; color:#8E8C8D;}
.topLien:hover {text-decoration:underline; color:#8E8C8D;}
#top a {color: #29A0C8; font-size: 24px; text-decoration: none; text-transform: uppercase; font-weight: bold; font-style: normal;}
#top img {margin: auto; padding: 0px;}
/*-------------------module--------------------------*/
.box {margin:0px; padding: 5px; margin-bottom: 25px;}
.box a {color: #285C00; text-decoration: none;}
.box a:hover {text-decoration: underline; color: #285C00;}
.box h2 {font-size: 14px; margin: 0px; padding: 10px; background-color: #678B1D; border-bottom: 1px dashed #95C72A; color:#fff; text-transform: uppercase; font-weight: bold; line-height: 20px;}
.box-titre {padding:0px;}
.box-footer {display:none;}
.box-content {overflow: hidden; padding: 10px 5px; color:#45781d; background-color: #95C72A;}
.box-content p {margin:5px 0px; padding:0px; color:#45781d;}
.box-content ul {margin:5px 0px; padding:0px; color:#45781d;}
.box-content li {list-style: none; color:#45781d; margin:5px 0; padding:0px;}
.listAll{display:block; text-align:right;}
.text li, .lien li, .articlerecent li, .commentrecent li, .categorie li {min-height: 20px; padding: 5px 0 0 10px; background: url(http://fdata.over-blog.net/99/00/00/01/designs/395/default/pics/li.jpg) no-repeat left; line-height: 14px; /line-height: 15px;}
.commentrecent li {min-height: 35px;}
.imgAndText li {width: 150px; float: left; height: 100px;}
.recherche .box-content, .newsletter .box-content {text-align: center;}
.pub h2 {display: none;}
.pub .box-content {margin: 0 0 0 5px;}
.pub {border: 0; background-color: transparent;}
.article_navigation {line-height: 14px;}
/*------------------- Articles ----------------------------------*/
.article, .page {margin-top:0px; background-color: #3E3C3D; color:#B0B0B0; text-align: justify; margin-bottom: 25px; padding: 10px;}
.article p, .page p {margin:0px;}
.contenuArticle, .pageContent {padding: 10px;}
.afterArticle, .afterPage {font-size: 10px; color:#B0B0B0; margin-top: 15px; font-weight: normal; font-style: normal; line-height: 15px;}
.afterPage {background-color: transparent;}
.plusExtrait a, .afterArticle a {font-size: 12px; text-decoration: underline; color:#29A0C8; padding: 0 3px; font-weight: normal; font-style: normal;}
.plusExtrait a:hover, .afterArticle a:hover {text-decoration: none; color: #29A0C8;}
.afterArticle .separator, .plusExtrait .separator {display: none;}
.plusExtrait br, .afterArticle br {clear: both; line-height: 10px; margin: 0; padding: 0;}
.spanRecommend .facebook {padding: 0 8px;}
.before_articles {display: none;}
.beforeArticle, .beforePage {padding:0px; margin: 0px; margin-top: 10px; width:100%; color:#B0B0B0; text-align: left; display: block; font-size: 10px; font-style: normal; font-weight: normal; line-height: 15px;}
.beforePage {padding: 0;}
.beforeArticle .date span, .beforeArticle .separator {display: none;}
.beforeArticle .date span.text {display: inline;}
.beforeArticle a {text-decoration: underline; color:#B0B0B0;}
.beforeArticle a:hover {text-decoration: none; color:#B0B0B0;}
.linkTopic {text-transform:lowercase;}
.linkTopic:hover {text-transform:lowercase;}
.titreArticle, .divPageTitle h2 {color: #FFFFFF; font-size: 16px; font-weight: bold; text-transform: uppercase; text-decoration: none; margin: 0; display: block;}
.titreArticle:hover, .divPageTitle h2:hover {text-decoration:none; color:#8E8C8D;}
.article h2, .divPageTitle h2 {min-height: 20px; margin: 0; margin-top: 5px; line-height: 24px; margin-left: 0px; border-bottom: 3px solid #8E8C8D; padding-bottom: 5px;}
.topicTitle {text-decoration:none; color:#3E3C3D; text-transform: uppercase; font-size: 14px; font-weight: bold; line-height: 15px; margin-left: 10px; margin-bottom: 30px; margin-top: 10px;}
.afterReactions {text-align:left; display:block; height: 100px; line-height: 35px;}
.afterReactions .linkAddComment {font-size:100%;}
.afterReactions a {padding: 3px 5px; font-size: 12px; text-decoration: none; color:#29A0C8; font-weight: normal;}
.afterReactions a:hover {text-decoration: underline; color: #29A0C8;}
.spanLinkComment {background: url(http://fdata.over-blog.net/99/00/00/01/designs/395/default/pics/comments.jpg) no-repeat top left; padding-left: 15px;}
/*--------------------Liste des articles-------------------------*/
.listArticles {margin-bottom:25px; border:0px none; background-color: #3E3C3D; color:#B0B0B0; margin-top: 10px; padding: 10px;}
.resumeArticle {color:#B0B0B0; text-align: justify; padding: 0 5px; margin-top: 10px;}
.listArticles a {color: #FFFFFF; font-size: 16px; font-weight: bold; text-transform: uppercase; text-decoration: none;}
.listArticles a:hover {text-decoration: none; color: #8E8C8D;}
.listArticles .categorieArticle a, .resumeArticle a {font-size: 10px; text-decoration: underline; color:#B0B0B0;}
.listArticles .categorieArticle a:hover, .resumeArticle a:hover {text-decoration: none;}
.listCommentedArticle {background-color: #3E3C3D; color:#B0B0B0; padding: 10px;}
/*--------------------Mode resume-------------------------*/
.titreExtrait {color: #FFFFFF; font-size: 16px; font-weight: bold; text-transform: uppercase; text-decoration: none; margin: 0; display: block;}
.titreExtrait:hover {text-decoration:none; color:#8E8C8D;}
.hrExtrait {border: 0px; display: none;}
.extraitArticle {margin-top:0px; background-color: #3E3C3D; color:#B0B0B0; text-align: justify; padding: 10px; margin-bottom: 25px;}
.extrait {margin-top:0px; color:#B0B0B0; text-align: justify; margin-bottom: 25px; padding-top: 10px;}
.extrait img {border: 1px solid #B0B0B0; padding: 4px; margin-right: 10px;}
.infoExtrait {min-height: 20px; margin: 0; margin-top: 5px; line-height: 24px; margin-left: 0px; border-bottom: 3px solid #8E8C8D; padding-bottom: 5px;}
.dateExtrait {padding:0px; margin: 0px; margin-top: 10px; width:100%; color:#B0B0B0; text-align: left; display: block; font-size: 10px; font-style: normal; font-weight: normal; line-height: 15px;}
.dateExtrait .separator {display: none;}
.dateExtrait .date span {display: none;}
.dateExtrait .date span.text {display: inline;}
.dateExtrait a {text-decoration: underline; color:#B0B0B0;}
.dateExtrait a:hover {text-decoration: none; color:#B0B0B0;}
.extrait a {text-decoration: none;}
.extrait a:hover {text-decoration: underline;}
.plusExtrait {font-size: 10px; color:#B0B0B0; margin-top: 15px; font-weight: normal; font-style: normal; line-height: 15px;}
/*--------------------Commentaires---------------------------- */
.h2commentMessage {color: #3E3C3D; font-size: 16px; font-weight: bold; text-transform: uppercase; text-decoration: none; margin-bottom: 25px;}
.comment {}
.comment hr {}
.commentMessage {padding: 5px; padding-bottom: 0; margin: 0; color:#3E3C3D; text-align: justify; border-bottom: 0;}
.commentOption {padding: 2px 2px 3px 5px; margin: 0 0 25px 0; font-size: 10px; color:#B0B0B0; border-bottom: 1px dashed #B0B0B0; font-style: normal; font-weight: bold;}
.responseMessage {text-align:right; background-color: #3E3C3D; color: #fff; padding: 5px 10px 5px 0;}
.responseOption {text-align: right;}
.afterReactions .linkAddComment {font-size:130%;}
.commentMessage {min-height: 20px;}
/*-----------------Newsletter-----------------------------------*/
#divNewsletter {background-color: #fff; color: #3E3C3D; border: 10px dashed #3E3C3D;}
#divNewsletter h2 {text-align:center; color #3E3C3D;}
#divNewsletter input {border:solid 1px #dedede; font-size:100%; background-color:#FFF; color:#000000; height: 18px;}
#divNewsletter .button {background-color: #FFF; color: #000; border: 0px;}
#divNewsletter .newsletter {}
#divNewsletter {}
/* ---------------------Calendrier--------------------------------- */
.calendarTop1 {font-size: 14px; text-align: center; font-style: normal; color:#3E3C3D; font-weight: bold; text-transform: uppercase; padding-bottom: 3px;}
.calendarToday1 {font-size: 10px; font-weight: bold; color:#fff; background-color: #678B1D; border: 1px solid #3E3C3D;}
.calendarToday1 a {font-size: 10px; font-weight: bold; color:#3E3C3D;}
.calendarDays1 {width:50px; height:15px;font-size: 10px; font-style: normal; color:#3E3C3D; text-align: center;}
.calendarHeader1 {font-size: 10px; color:#3E3C3D; padding-top: 5px;}
.calendarTable1 {font-family: 'Arial'; font-size: 11px; width: 250px; float: center; padding: 5px 0; line-height: 12px; margin: auto;}
/*-----------------------Pagination-------------------------*/
.pagination {color:#3E3C3D; margin:10px auto}
/*----------------erreurs etc------------------------------*/
.error {color : #464646;}
/*----Newsletters-----*/
.newsletter li {list-style-type: none;}
/*----- accueil / menu -------*/
#menuob {/line-height: 25px; line-height: 22px; height: 28px; width: 580px; margin-bottom: 25px; background: url(http://fdata.over-blog.net/99/00/00/01/designs/395/default/pics/menu-bkg.jpg) repeat-x;
border: 0px;
padding: 0;
margin-top: 0;
}
#menuob a {
text-transform: uppercase;
font-size: 11px;
color: #fff;
font-weight: normal;
text-decoration: none;
padding: 0px 15px;
text-align: center;
margin-right: 10px;
border-right: 1px solid #1c6784;
}
#menuob a:hover {
text-decoration: underline;
}