hallo,

ik heb van die stomme tekst in beeld staan op mijn forum, hoe kan je dat weghalen? op view_topic.tpl staat ook alles kriskras over de pagina..

iemand interesse om mij te helpen?

oja, hier is mijn forum: www.johndeeremodelbouw.com/forum

gr. Christ
Die tabellen die 800px gecentreerd zijn hebben zitten in een class forumline.

Die teksten die dat niet hebben hebben zitten niet in die class, en worden dus ook niet 800px breed gecentreerd.

Het is makkelijker om 1 divje te maken die je 800px breed maakt, en daarin je forum... ipv alles los gaan benaderen.
En dus moet ik dat daar dan ook een DIV omheen zetten?
oh, nou ja, ik heb alles al gecentreerd, maar nu nog die teksten.. waar kan ik die vinden?

wacht, zal me jennisonbands.css even plakken hier.:


/*
JenisonBands Theme for phpBB 2.0.3
Created by Vjacheslav Trushkin
http://www.trushkin.net
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
background-color:#F8F8F8;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
scrollbar-face-color: #006300;
scrollbar-highlight-color: #00B000;
scrollbar-shadow-color: #006300;
scrollbar-3dlight-color: #00B000;
scrollbar-arrow-color: #FFFF00;
scrollbar-track-color: #00B000;
scrollbar-darkshadow-color: #002000;
}


/* General font families for common tags */
font{ font-family: Verdana, Arial, Helvetica, sans-serif }
p, td { font-family: Verdana, Arial, Helvetica, sans-serif }
hr { height: 0px; border: solid #004000 0px; border-top-width: 1px;}
a { color: #006600; text-decoration: none; }
a:hover { color: #009000; text-decoration: underline; }
h1,h2 { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 20px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;}

/* This is the border line & background colour round the entire page */
.bodyline { background-color:#F8F8F8; border: #006700; border-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px }

/* This is the outline round the main forum tables */
.forumline { background-color:#006700; border: 1px #002000 solid; width: 700px; }

/*
Main table cell colours and backgrounds
Styles that use bitmap backgrounds are commented "Uses Bitmap"
Note that netscape 4 takes paths to bitmap files relative from
the html file rather than from the style sheet.
Hence, to maintain compatibility, all styles using bitmaps have
their "background : url(templates/JenisonBands/images/bitmap.gif);"
setting defined in overall_header.tpl
*/

TD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px }
TH, TD.th { font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #006300; height: 25px; font-size: 11px; font-weight: bold; color: #FFFF00; } /* Uses Bitmap */
TD.row1 { background-color: #f8f8f8 }
TD.row2 { background-color: #f4f4f4 }
TD.row3 { background-color: #f6f6f6 }

/* This is the spacer row between post replies */
TD.spaceRow { color:#FFFFFF; background-color: #006700; border: #006700; border-style: solid; border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }

/*
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: #D8FCC3 } /* Uses Bitmap */


/*
Setting additional nice 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.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-color:#D8FCC3; height: 26px; border: #ffffff; border-style: solid; } /* Uses Bitmap */

TD.catHead { height: 29px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 0px }
TD.catSides { border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
TD.catLeft { border-left-width: 1px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px }
TD.catRight { border-left-width: 0px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
TD.cat,TD.catBottom { height: 29px; border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px }

TH.thHead,TH.thSides,TH.thBottom,TH.thCornerL,TH.thCornerR { border: #ffffff; border-style: solid; }
TH.thTop,TH.thLeft,TH.thRight,TH.thCornerL,TH.thCornerR { border: #006700; }

TH.thHead { font-weight : bold; font-size: 12px; height: 25px; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 0px }
TH.thSides { border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
TH.thTop { border-left-width: 0px; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px }
TH.thLeft { border-left-width: 1px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px }
TH.thRight { border-left-width: 0px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px }
TH.thBottom { border-left-width: 1px; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 1px }
TH.thCornerL { border-left-width: 1px; border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px }
TH.thCornerR { border-left-width: 0px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 0px }



/* The largest text used in the index page title and toptic title etc. */
.maintitle { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 20px; font-weight : bold; text-decoration : none; line-height : 120%; color : #009900;}
.subtitle { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 12px; font-weight : bold; text-decoration : none; line-height : 120%; color : #00A400;}


a.sitename { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 20px; font-weight : bold; text-decoration : none; line-height : 120%; color : #006600;}
a.sitename:visited { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 20px; font-weight : bold; text-decoration : none; line-height : 120%; color : #005000;}
a.sitename:active { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 20px; font-weight : bold; text-decoration : underline; line-height : 120%; color : #FF0000;}
a.sitename:hover { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 20px; font-weight : bold; text-decoration : underline; line-height : 120%; color : #009000;}

/* General normal text */
.gen { font-size : 12px; color : #000000; }
a.gen { color: #006600; text-decoration: none; }
a.gen:visited { color: #005000; text-decoration: none; }
a.gen:active { color: #FF0000; text-decoration: underline; }
a.gen:hover { color: #E00000; text-decoration: underline; }


/* General medium text */
.genmed { font-size : 11px; color : #000000; }
a.genmed { text-decoration: none; color : #006600; }
a.genmed:visited { text-decoration: none; color : #005000; }
a.genmed:active { text-decoration: underline; color : #FF0000; }
a.genmed:hover { text-decoration: underline; color : #009000; }


/* General small */
.gensmall { font-size : 10px; color : #000000; }
a.gensmall { color: #006600; text-decoration: none; }
a.gensmall:visited { color: #005000; text-decoration: none; }
a.gensmall:active { color: #FF0000; text-decoration: underline; }
a.gensmall:hover { color: #009000; text-decoration: underline; }

/* Text on TD.SpaceRow */
.spaceRow { font-size : 10px; color : #FFFFFF; }
a.spaceRow { color: #FFFFFF; text-decoration: none; }
a.spaceRow:visited { color: #FFFFFF; text-decoration: none; }
a.spaceRow:active { color: #FF0000; text-decoration: underline; }
a.spaceRow:hover { color: #009000; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : 11px; text-decoration : none; color : #000000 }
a.mainmenu, a.mainmenu:visited { text-decoration: none; color : #000000; }
a.mainmenu:active { text-decoration: underline; color : #FF0000; }
a.mainmenu:hover { text-decoration: underline; color : #009000; }


/* Forum category titles */
.cattitle { font-size : 12px; letter-spacing: 1px; font-weight : bold; text-decoration : none; color : #003300}
a.cattitle { text-decoration: none; color : #003300; }
a.cattitle:visited { text-decoration: none; color : #003300; }
a.cattitle:active { text-decoration: underline; color : #FF0000; }
a.cattitle:hover { text-decoration: underline; color : #009000; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-size : 12px; font-weight : bold; text-decoration : none; color : #006600; }
a.forumlink { text-decoration: none; color : #006600; }
a.forumlink:visited { text-decoration: none; color : #005000; }
a.forumlink:active { text-decoration: underline; color : #FF0000; }
a.forumlink:hover { text-decoration: underline; color : #009000; }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-size : 11px; font-weight : bold; text-decoration : none; color : #000000;}
a.nav { text-decoration: none; color : #006600; }
a.nav:visited { text-decoration: none; color : #005000; }
a.nav:active { text-decoration: underline; color : #FF0000; }
a.nav:hover { text-decoration: underline; color : #009000; }


/* titles for the topics: could specify viewed link colour too */
.topictitle { font-size : 11px; font-weight : bold; text-decoration : none; color : #000000; }
a.topictitle { text-decoration: none; color : #006600; }
a.topictitle:visited { text-decoration: none; color : #005000; }
a.topictitle:active { text-decoration: underline; color : #FF0000; }
a.topictitle:hover { text-decoration: underline; color : #009000; }


/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : 11px; text-decoration : none; color : #000000;}
a.name { color: #006600; text-decoration: none;}
a.name:visited { color: #005000; text-decoration: none;}
a.name:active { color: #FF0000; text-decoration: underline;}
a.name:hover { color: #009000; text-decoration: underline;}


/* Location, number of posts, post date etc */
.postdetails { font-size : 10px; color : #000000; }
a.postdetails { color: #006600; text-decoration: none; }
a.postdetails:visited { color: #005000; text-decoration: none; }
a.postdetails:active { color: #FF0000; text-decoration: underline; }
a.postdetails:hover { color: #009000; text-decoration: underline; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink { text-decoration: none; color : #006600 }
a.postlink:visited { text-decoration: none; color : #005000 }
a.postlink:active { text-decoration: underline; color : #FF0000}
a.postlink:hover { text-decoration: underline; color : #009000}

/* Errors */
.error { font-size: 12px; font-weight: bold; color: #FFFFC0 }


/* Quote Code (currently not used) */
.code {
font-family: Courier, "Courier New", sans-serif; font-size: 11px; color: #001000;
background-color: #F8F8F8; border: #006700; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
font-family: Verdana, Arial, sans-serif; font-size: 11px; color: #001000; line-height: 125%;
background-color: #F8F8F8; border: #006700; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.editedby { font-size : 10px; line-height : 100%; color : #333333; }

/* Form elements */
input,textarea, select {
color : #000000;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
font-weight : normal;
border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
background-color : #E0F7E0;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
background-color : #E0F9E0;
color : #000000;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
}

/* The main submit button option */
input.mainoption {
background-color : #E0F6E0;
font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
background-color : #E0F5E0;
font-weight : normal;
}

/* 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: #A0FFA0; border-style: none; }

/* Copyright and bottom info */
.copyright { font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; font-size: 10px; letter-spacing: -1px;}
a.copyright { color: #333333; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}
Die tabellen met teksten hebben geen id of class.
<body>
<div id="forumcontainer">
//Boel code
</div>
</body>


En je CSS regel:


#forumcontainer {
width:800px;
text-align:center; // Moet je even kijken of je dat wel wil.
}
@ Willem-Jan:

#forumcontainer {
margin: 0px auto;
width: 800px;
}

centreert de div, terwijl de tekstuitlijning gewoon gehandhaafd blijft.
@ Jan : ik leer elke keer weer wat met dergelijke opmerkingen *bedankt* !
@Lissy: you're welcome!

Reageren