You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
Shaienn
Добрый день.
Не могу понять, как сделать текст над изображением. С z-index`ами пробовал, не получается.
Вот исходник html
Вот кусок css
#flash2 {width: 400;
height: 63;
z-index:11;
margin-top:-150;
}
#ramka2 {
position:relative;
z-index:11;
left:238;
bottom:38;
width:316;
height:159;
}
#projects {
position:relative;
left:238;
bottom:38;
width:316;
height:159;
}
#sitenews{
height: 200;
background-color: #384780;
margin-top:40px;
font-size: 95%;
border-left: 3px solid #7ccf4d;
border-bottom: 3px solid #7ccf4d;
border-right: 3px solid #7ccf4d;
border-top: 3px solid #7ccf4d;
}
#insidecontent{
width: 95%;
margin-left:30px;
margin-top:20px;
}
#ourprojects{
height: 872;
font-size: 100%;
background-color: #384780;
margin-top:50px;
border-left: 3px solid #7ccf4d;
border-bottom: 3px solid #7ccf4d;
border-right: 3px solid #7ccf4d;
border-top: 3px solid #7ccf4d;
}
#insidephoto{
padding-right:10px;
height:125;
width:165;
}
#content{
padding-left: 4px;
font-size: 95%;
margin-left:190px;
margin-top:-65px;
width: 71%;
}
#block
{
height:40px;
}
#s1
{
float:left;
width:50%;
}
#s2
{
float:right;
width:50%;
margin-top:-120px;
z-index:100;
}
Мне нужно, чтоб блок
был над блоком
Спасибо.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.