Verfasst: 14.11.2008 19:50
Man kann alles mögliche machen.... Was hast Du bis jetzt zu Deiner letzten Frage raus gefunden?
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Hallo,AKAN hat geschrieben:Naja, ich will praktisch einen allgemeinen Rahmen haben. Also nicht speziell für die Beiträge, verstehste was ich mein?
Code: Alles auswählen
width : 1280px; /* Breite gesamt */
Code: Alles auswählen
/* Rahmen um das Forum
------------------------------------------------------ */
.top-left, .top-right, .bottom-left, .bottom-right {
background-image: url("./images/rahmen.jpg"); /* Pfad und Name des Bildes */
height: 20px; /* hoehe der Ecken -- haelfte der hoehe vom Bild */
font-size: 2px; /* Korrektur fuer die hoehe des IE <div>'s */
}
.top-left, .bottom-left {
margin-right: 20px; /* breite der Ecken */
}
.top-right, .bottom-right {
margin-left: 20px; /* Breite der Ecken */
margin-top: -20px; /* Hoehe der Ecken - Negativ */
}
.top-right {
background-position: 100% 0; /* Positionierung der Ecken - rechts, nur Horizontal */
}
.bottom-left {
background-position: 0 -20px; /* ersetze die zweite Zahl durch die Negative hoehe von einer Ecke */
}
.bottom-right {
background-position: 100% -20px; /* ersetze die zweite Zahl durch die Negative hoehe von einer Ecke */
}
.inside {
border-left: 1px solid #800000; /* Breite, Stil, Farbe - links */
border-right: 1px solid #800000; /* Breite, Stil, Farbe - rechts */
background: #fef6ec; /* Hintergrundfarbe - innen */
color: #800000; /* Textfarbe - innen */
padding-left: 0px; /* Text Abstand - links */
padding-right: 0px; /* Text Abstand - rechts */
padding-top: 0px; /* Text Abstand - oben */
}
.notopgap { margin-top: 0; }
.nobottomgap { margin-bottom: 0; }
.outside {
margin: 30px;
width : auto; /* Breite gesamt */
padding-top: 20px;
padding-bottom: 20px;
}
Das Problem haste immer bei Feste breite.eine absolute Breite für das Forum festlege. Das finde ich ärgerlich, da ja nun wirklich jeder einen andere Auflösung nutzt. ich habe z.B. einen 17" Breitbild Laptop, meine Freundin einen normalen 15". Entweder bei mir wirkt das Forum winzig oder sie muss seitlich scrollen, das ist blöd.