Forum in der Breite verkleinern

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
losbenos
Mitglied
Beiträge: 26
Registriert: 26.10.2007 19:49

Forum in der Breite verkleinern

Beitrag von losbenos »

Hallo!

Ich habe schon die Suche benutzt, aber ich kann leider das Forum hier nicht in der Breite verändern!
Ich habe das im Code eingegeben, aber es klappt einfach nicht!

Hat jemand von euch einen Tipp?

Code: Alles auswählen



html {
        width: 100%;
        /* height: 100%;*/
        }
body {
        background-color: #EFEFEF; /* OLD: #FFFFFF; */
        color: #333333;
        font-family: Verdana, , Arial, sans-serif;
        margin: 0px 0px 0px 0px;
        width: 100%;
        /* height: 100%; */
        text-align: center;
        }
.gen {
        font-size : 12px;
        }
.gen2 {
        font-size: 11px;
        font-family: sans-serif, Arial;
        }
.genmed {
        font-size : 12px;
        }
.gensmall {
        font-size : 11px;
        }
.gen,.genmed,.gensmall {
        color : #000000;
        }
a.gen,a.genmed,a.gensmall {
        color: #006699; text-decoration: none;
        }
a.gen:hover,a.genmed:hover,a.gensmall:hover {
         color: #DD6900; text-decoration: underline;
         }
a:link,a:active,a:visited {
        color: #555555;
        }
a:hover {
        color: #660000;
        }
span.info {
        font-size: 11px;
        color: #000000;
        }
span.small {
        font-size: 11px;
        }
span.postinfo {
        font-size: 12px;
        color: #333333;
        }
a.nav {
        color: #333333;
        font-size: 12px;
        }
.cattitle {
        color: #333333;
        }
a.white {
        color: #FFFFFF;
        }
a.grey {
        color: #333333;
        }
a.white:visited {
        color: #FFFFFF;
        }
a.green {
        color: #669900;
        font-weight: bold;
        font-size: 14px;
        }
a.green:visited {
        color: #669900;
        font-weight: bold;
        font-size: 14px;
        }
a.green:hover {
        color: #996600;
        font-weight: bold;
        font-size: 14px;
        }
div.small {
        font-size: 11px;
        }
div.pm {
        border: solid;
        border-width: 1px;
        width: 300px;
        border-color: #555555;
        background-color: #EFEFEF;
        font-size: 11px;
        position: center;
        text-align: center;
        font-family: Verdana, sans-serif;
        }
table.forumborder {
        border: solid;
        border-width: 1px;
        border-color: #555555;
        }
td.small {
        font-size: 11px;
        }
td.info {
        font-size: 10px;
        color: #000000;
        }
td.title {
        background-color: #669900;
        width: 100%;
        height: 100px;
        }
td.menu {
        background-color: #CFCFCF;
        width: 100%;
        height: 25px;
        color: #555555;
        font-size: 12px;
        font-family: sans-serif;
        }
td.subtitle {
        background-color: #CFCFCF;
        width: 100%;
        height: 25px;
        color: #555555;
        font-size: 12px;
        font-family: sans-serif;
        }
td.mnu {
        background-color: #BFBFBF;
        height: 2px;
        }
td.forumtitle {
        background-color: #669900;
        color: #FFFFFF;
        font-size: 10px;
        font-family: sans-serif;
        }
td.row1 {
        background-color: #EFEFEF; /*was EEEEEE */
        font-family: sans-serif;
        font-size: 12px;
        }
td.row2 {
        background-color: #DEDEDE;  /* Was DDDDDDD */
        font-family: sans-serif;
        font-size: 12px;
        }
td.row3 {
        background-color: #CDCDCD; /* was CCCCCC */
        font-family: sans-serif;
        font-size: 12px;.
        }
td.icon {
        background-color: #EFEFEF;
        font-family: sans-serif;
        }
td.rowtitles {
        background-color: #CFCFCF;
        color: #555555;
        font-size: 11px;
        font-family: sans-serif;
        }
th.forumtitle {
        background-color: #669900;
        color: #FFFFFF;
        font-size: 10px;
        font-family: sans-serif;
        }
th.menu {
        background-color: #BFBFBF;
        height: 25px;
        color: #555555;
        font-size: 12px;
        font-family: sans-serif;
        }
span.postbody {
         font-size: 13px;
         }
.liteoption {
        border: 1px solid #000000;
        height: 20px;
        background-color: #FFFFFF;
        }
.mainoption, .button {
        border: 1px solid #000000;
        height: 20px;
        background-color: #FFFFFF;
        }
.code {
        font-family: "courier new";
        font-size: 12px;
        color: #669900;
        background-color: #FFFFFF;
        border: #669900;
        border-style: solid;
        border-left-width: 1px;
        border-top-width: 1px;
        border-right-width: 1px;
        border-bottom-width: 1px;
        background-image: url("images/background.gif");
        background-repeat: no-repeat;
        background-position: top right;
}

.quote {
        font-family: Arial;
        font-size: 11px;
        color: #333333;
        /* line-height: 125%; */
        background-color: #FFFFFF;
        border: #333333;
        border-style: solid;
        border-left-width: 1px;
        border-top-width: 1px;
        border-right-width: 1px;
        border-bottom-width: 1px;
        background-image: url("images/background.gif");
        background-repeat: no-repeat;
        background-position: top right;
        }
/* Not used yet, but will be used in v1.2, v1.5 and v2.0*/
div.box1 {
        width: 200px;
        text-align: center;
        font-size: 14px;
        background-color: #EFEFEF;
        border: 1px solid #BFBFBF;
        }
table.mainwindow {
        margin-left: 0;
        margin-right: 0;
        border-left: 1px solid #333333;
        border-right: 1px solid #333333;
        background-color: #FFFFFF;
        width: 100%;
        background-image: url("images/background.gif");
        background-repeat: no-repeat;
        background-position: top right;
        }
.topictitle1 {
        font-size: 14px;
        font-weight: bold;
        }
/* End CSS */
        
Danke :oops:
Kizu
Mitglied
Beiträge: 545
Registriert: 11.05.2007 15:19
Wohnort: Bremen
Kontaktdaten:

Beitrag von Kizu »

Ich weiß nicht welche Datei du da kopiert und eingefügt hast, aber es ist die Falsche. Die änderung solltest du in der index_body.tpl machen.
Versuche mal das hier:
<!-- END switch_xs_enabled -->
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{PRIVATE_MESSAGE_INFO}<br />
Das Rote solltest verändern. dann sollte es klappen.
Benutzeravatar
Mahony
Ehemaliges Teammitglied
Beiträge: 12205
Registriert: 17.11.2005 22:33
Wohnort: Ostfildern Kemnat
Kontaktdaten:

Beitrag von Mahony »

Hallo losbenos
Du hast die css Datei bearbeitet. Das hat aber nichts mit der Forenbreite zu tun.

Du musst einfach nur dein Forum in eine Tabelle mit den gewünschten Werten legen. Wie das geht, habe ich hier Beschrieben >>>das komplette board in eineTabelle mit festgelegter Breite legen<<<



Grüße: Mahony
Wer fragt, ist ein Narr für fünf Minuten, wer nicht fragt, ist ein Narr für immer.
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“