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
kent666
Помогите пожалуйста. Мучаюсь со слоями. У меня есть html
И есть CSS
#unit {height: 100px;
width: 500px;
border:1px solid;
background-color: #FFCC99;
}
#unit_pic {
height: 94px;
width: 94px;
margin: 2px;
background-color: #FFFFFF;
border:1px solid;
}
#unit_name {
position: relative;
font-size: 24px;
left: 101px;
top: 2px;
width: 393px;
font-weight: bold;
border:1px solid;
}
#unit_description {
position: relative;
font-size: 15px;
left: 101px;
top: 33px;
width: 393px;
border:1px solid;
height: 40px;
}
#unit_cost {
position: relative;
font-size: 16px;
left: 101px;
top: 77px;
width: 393px;
font-weight: bold;
border:1px solid;
}
По идее у меня каждый элемент в родительском теге должен позиционироваться относительно родительского тега!!! position: relative;
А они почему-то вылазят за рамки!!!! Помогите!!!!
Link to comment
Share on other sites
9 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.