Nombre de messages : 1114 Age : 31 Point(s) Fort(s) : Graphisme Point(s) Faible(s) : A vous de me le dire... Logiciel préféré : Rpg Mkaer XP Date d'inscription : 12/08/2006
Sujet: Espace indésirable sur mon site. Sam 30 Mai 2009 - 20:35
Yosh ! Donc en fait, j'aimerais supprimer une certaine espace sur mon site qu'il y a entre le header et le fond de couleur beige : https://2img.net/r/ihimizer/img15/9958/bugtll.png
Si possible, j'aimerais également que mon header commence plus haut, coller au haut de la page.
Voici le code de la page :
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="{S_CONTENT_DIRECTION}"> <head> <meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"> <meta http-equiv="Content-Style-Type" content="text/css"> {META} {NAV_LINKS} <title>{SITENAME} :: {PAGE_TITLE}</title> <link rel="stylesheet" href="http://img1.xooimage.com/files/5/7/f/acid-f03764.css" type="text/css"><br> <br>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript"> <!-- if ( {PRIVATE_MESSAGE_NEW_FLAG} ) { window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');; } //--> </script> <!-- END switch_enable_pm_popup -->
Dernière édition par Slaizen le Dim 31 Mai 2009 - 1:03, édité 1 fois
Siegfried
Garde
Nombre de messages : 5266 Age : 37 Point(s) Fort(s) : Graph, Script, Scénar, Poing droit Point(s) Faible(s) : Mapping Niveau RPG Maker : A vous de juger Logiciel préféré : Rmxp, ça fait des Date d'inscription : 14/01/2007
Sujet: Re: Espace indésirable sur mon site. Sam 30 Mai 2009 - 22:23
Espace indéririrable ? Il n'arrête pas de rire ?
Il faudrait aussi ton css.
Randal
Seigneur (Nv 2)
Nombre de messages : 425 Age : 31 Point(s) Fort(s) : Tout Point(s) Faible(s) : Rien Niveau RPG Maker : Dieu Logiciel préféré : RMXP Date d'inscription : 08/01/2007
Sujet: Re: Espace indésirable sur mon site. Sam 30 Mai 2009 - 22:46
C'est des tableaux à ce que je vois, as-tu appliqué un margin: 0 aux deux tableaux ? Si ça ne marche pas, essaye de leur appliquer un display: inline;.
Slaizen
Membre royal très actif
Nombre de messages : 1114 Age : 31 Point(s) Fort(s) : Graphisme Point(s) Faible(s) : A vous de me le dire... Logiciel préféré : Rpg Mkaer XP Date d'inscription : 12/08/2006
Sujet: Re: Espace indésirable sur mon site. Dim 31 Mai 2009 - 1:09
Qu'est-ce-que représente display et inline ??
Sinon voici le css :
Code:
/* Template for phpBB version 2.0.18 */
/* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #C6DB84; background-image: url('http://img38.imageshack.us/img38/2300/backgroundm.png'); }
/* General font families for common tags */ font,th,td,p { font-family: Palatino Linotype, Book Antiqua, Palatino, serif } p, td { font-size : 12px; color : #5C4735; } a:link,a:active,a:visited { color : #5C4735; } a:hover { text-decoration: underline; color : #5C4735; } hr { height: 0px; border: solid #A36F49 0px; border-top-width: 0px;} h1,h2 { font-family: "Trebuchet MS", Palatino Linotype, Book Antiqua, Palatino, serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #5C4735;}
/* This is the border line & background colour round the entire page */ .bodyline { background-color: #; border: 0px #82915A solid; }
/* This is the outline round the main forum tables */ .forumline { background-color: #; border: 2px #44611A solid; }
/* This is for the table cell above the Topics, Post & Last posts on the index.php page By default this is the fading out gradiated silver background. However, you could replace this with a bitmap specific for each forum */ td.rowpic { background-color: #c69a72; background-image: url('http://img10.xooimage.com/files/f/2/4/barre-eace91.png'); }
/* Header cells - the blue and silver gradient backgrounds */ th { color: #5C4735; font-size: 11px; font-weight : bold; background-color: #Cc69a72; height: 25px; background-image: url('http://img3.xooimage.com/files/5/e/c/back02-eace87.png'); }
/* Setting additional nice inner borders for the main table cells. The names indicate which sides the border will be on. Don't worry if you don't understand this, just ignore it :-) */ td.cat,td.catHead,td.catBottom { height: 29px; border-width: 0px 0px 0px 0px; } th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { font-weight: bold; border: #DBA974; border-style: solid; height: 28px; } td.row3Right,td.spaceRow { background-color: #CFD7BB; border: #FFFFFF; border-style: solid; }
/* The largest text used in the index page title and toptic title etc. */ .maintitle,h1,h2 { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Palatino Linotype, Book Antiqua, Palatino, serif; text-decoration: none; line-height : 120%; color : #5C4735; }
/* The register, login, search etc links at the top of the page */ .mainmenu { font-size : 11px; color : #5C4735 } a.mainmenu { text-decoration: none; color : #5C4735; } a.mainmenu:hover{ text-decoration: underline; color : #86664D; }
/* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #5C4735} a.cattitle { text-decoration: none; color : #5C4735; } a.cattitle:hover{ text-decoration: underline; }
/* Forum title: Text and link to the forums used in: index.php */ .forumlink { font-weight: bold; font-size: 12px; color : #5C4735; } a.forumlink { text-decoration: none; color : #5C4735; } a.forumlink:hover{ text-decoration: underline; color : #86664D; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 11px; color : #5C4735;} a.nav { text-decoration: none; color : #5C4735; } a.nav:hover { text-decoration: underline; }
/* titles for the topics: could specify viewed link colour too */ .topictitle { font-weight: bold; font-size: 11px; color : #5C4735; } a.topictitle:link { text-decoration: none; color : #5C4735; } a.topictitle:visited { text-decoration: none; color : #5C4735; } a.topictitle:hover { text-decoration: underline; color : #86664D; }
/* Name of poster in viewmsg.php and viewtopic.php and other places */ .name { font-size : 11px; color : #5C4735;}
/* Location, number of posts, post date etc */ .postdetails { font-size : 10px; color : #5C4735; }
/* The content of the posts (body of text) */ .postbody { font-size : 12px;} a.postlink:link { text-decoration: none; color : #5C4735 } a.postlink:visited { text-decoration: none; color : #5C4735; } a.postlink:hover { text-decoration: underline; color : #86664D}
/* Form elements */ input,textarea, select { color : #5C4735; font: normal 11px Palatino Linotype, Book Antiqua, Palatino, serif; border-color : #; }
/* The text input fields background colour */ input.post, textarea.post, select { background-color : #FFFFFF; }
input { text-indent : 2px; }
/* The buttons used for bbCode styling in message post */ input.button { background-color : #EFEFEF; color : #5C4735; font-size: 11px; font-family: Palatino Linotype, Book Antiqua, Palatino, serif; }
/* The main submit button option */ input.mainoption { background-color : #FAFAFA; font-weight : bold; }
/* This is the line in the posting page which shows the rollover help line. This is actually a text box, but if set to be the same colour as the background no one will know ;) */ .helpline { background-color: #DEE3CC; border-style: none; }
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */ @import url('http://img4.xooimage.com/files/f/o/formie-30deb.css');
Bahamut 1.2
Membre royal(e)
Nombre de messages : 556 Age : 36 Point(s) Fort(s) : touche-à-tout :D Point(s) Faible(s) : Flemme x_x Niveau RPG Maker : meilleur que toiiiii !...comment ça non ? Date d'inscription : 25/09/2006
Sujet: Re: Espace indésirable sur mon site. Lun 1 Juin 2009 - 0:19
Avec un lien vers la page je pourrais t'aider. Enfin c'est deja galere a la base le css, si en plus on fait pas tout soi-meme, cest encore pire^^
harvox
Membre royal très actif
Nombre de messages : 1187 Point(s) Fort(s) : Event/mapping Point(s) Faible(s) : ruby ? Niveau RPG Maker : Malgrès mes questions je connais pas mal le logiciel, je dirais 7/10 Date d'inscription : 05/04/2007
Sujet: Re: Espace indésirable sur mon site. Jeu 4 Juin 2009 - 22:31
C'est sûrement une histoire de marge, mais un tableau est fait pour classer pas pour faire un design, je te déconseille fortement de faire comme ça, c'est source de problème et surtout, ça crée un code source très sale.
HS : Pour Jocker (celui qui a pourri ton forum), je pense que je peux t'aider, mp moi si ça t'interesse.
Contenu sponsorisé
Sujet: Re: Espace indésirable sur mon site.
Espace indésirable sur mon site.
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum