Code: Alles auswählen
.online {
background-image: none;
background-position: 100% 0;
background-repeat: no-repeat;
}
Was kann ich noch probieren..?
Danke!!
Léo
Code: Alles auswählen
.online {
background-image: none;
background-position: 100% 0;
background-repeat: no-repeat;
}
Code: Alles auswählen
.online {
background-image: none;
background-position: 0 0;
background-repeat: no-repeat;
}
Code: Alles auswählen
.postprofile {
border-right: 1px solid #BCD4E3;
color: #666666;
display: inline;
float: left;
margin: 5px 0 10px;
min-height: 80px;
padding: 25px 10px 0 25px;
width: 20%;
}
Code: Alles auswählen
.online {
background-image: none;
background-position: 100% 0;
background-repeat: no-repeat;
}
<dl id="profile105178" class="postprofile">
hinter postprofile eingebunden werden (Leerzeichen beachten!)Code: Alles auswählen
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->
Code: Alles auswählen
class="postprofile"
Code: Alles auswählen
class="postprofile<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->"
Ja, dazu musst du dem .postprofile das margin-top nehmen und dafür mehr padding-top verpassen. Denn padding-top betrifft nur den Inhalt, nicht das Element an sich und an letzteren Maßen orientiert sich das Hintergrundbild.leopittoni hat geschrieben:Ist es möglich, das online signet ganz an den oberen Rand zu schieben? Also nicht bündig am Benutzernamen?
Da kannst du .postprofile noch einleopittoni hat geschrieben:Und: Wenn das Browserfenster kleiner gemacht wird, wird der Profileblock recht schmal und der Inhalt zusammengequetscht... Kann man da eine Minimalbreite geben? (oder sogar eine konstante Breite?)
min-width: 150px
geben. Aber nicht zu groß, sonst rutscht dein Profil bei schmalen Fensterbreiten nach unten.Code: Alles auswählen
.postprofile {
/* Also see tweaks.css */
margin: 0 0 10px 0;
padding-top: 5px;
min-height: 80px;
color: #666666;
width: 16%;
float: left;
display: inline;
border-right: 1px solid #bcd4e3;
}
leopittoni hat geschrieben:Doch, leider schon.
bezweckt, dass das online-Täfelchen ganz nach rechts verschoben wird: unterhalb des "zitieren"-buttons.Code: Alles auswählen
.online { background-image: none; background-position: 100% 0; background-repeat: no-repeat; }
Was kann ich noch probieren..?
Danke!!
Léo
Code: Alles auswählen
.online {
background-image: url("{IMG_ICON_USER_ONLINE_SRC}");
padding-right: 60px;
}
Code: Alles auswählen
#wrap {
padding: 20px 20px;
width: 92%;
margin: 0 auto;
}