Вставил в <td> картинку - появились отступы где-то в 10px. Прижимается к левому краю, с помощью vertical-align:bottom; прижал к низу, а как быть с верхом?
Причём высота у td задана.
Код HTML:
<tr>
<td height="120" width="auto" colspan="3" class="footer">
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
bu-3
Вставил в <td> картинку - появились отступы где-то в 10px. Прижимается к левому краю, с помощью vertical-align:bottom; прижал к низу, а как быть с верхом?
Причём высота у td задана.
Код HTML:
<tr>
<td height="120" width="auto" colspan="3" class="footer">
<div align="left">
<img src="img-hair/bg_footer.jpg">
</div>
</td>
</tr>
И CSS:
.footer{
position:fixed bottom;
background-image:url(img-hair/bg_footer.jpg);
background-repeat:no-repeat;
background-position:bottom right;
margin:0px;
padding:0px;
vertical-align:bottom;
}
Очень нужна помощь. И как можно скорее.
Edited by bu-3Link to comment
Share on other sites
8 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.