Bonjour, bonsoir
J'aimerai faire ce bloc en une div
Mais je ne m'en sors pas trop, voici mes codes:
Merci d'avance
J'aimerai faire ce bloc en une div

Mais je ne m'en sors pas trop, voici mes codes:
HTML:
<div class="profile">
<img src="<?php echo $_SESSION['avatar']; ?>" alt="avatar" />
<p class="group<?php echo $_SESSION['rank']; ?>"><?php echo $_SESSION['user']; ?></p>
<p><?php echo $_SESSION['mail']; ?></p>
</div>
Code:
.profile{
position: absolute;
width: 330px;
height: 120px;
background-color: #FFF;
border-left: 6px solid rgba(52, 73, 94,1.0);
line-height: 120px;
}
.profile img{
position: relative;
float: left;
top: 20px;
left: 20px;
width: 80px;
height: 80px;
line-height: 120px;
vertical-align: center;
-webkit-border-radius:50px;
-moz-border-radius:50px;
border-radius:50px;
}
.profile p{
font-size: 24px;
display: inline-block;
line-height: 120px;
}
Merci d'avance
